Commit Graph

514 Commits

Author SHA1 Message Date
Jeremy Gardais b4ac01caf7
Fix useless call to `cat` 2020-06-09 11:47:26 +02:00
Jeremy Gardais 2db4453a76
Use direct shell commands instead of $VAR 2020-06-05 15:49:21 +02:00
Jeremy Gardais 6b20157c56
Replace `` with $() 2020-06-05 15:30:53 +02:00
Jeremy Gardais a4a6ba597f
Fix old SGE and BB vars 2020-06-05 15:24:51 +02:00
Jeremy Gardais fa02d6d485
New sge.sh Xymon's script
From https://wiki.xymonton.org/doku.php/monitors:sge
2020-06-05 14:58:13 +02:00
Jeremy Gardais 74b932506d
Disable script now manage multiple queues 2020-06-05 10:53:51 +02:00
Jeremy Gardais 8d6178fa82
Add possibility to check state of multiple queues 2020-06-05 10:19:34 +02:00
Jeremy Gardais f2149ced87
Simplification of the command to get queue state
With a fake_user, sge command doesn't return any pending jobs.
2020-06-05 07:32:03 +02:00
Jeremy Gardais 19a233d145
Forgot to update the vars after debug 2020-06-04 16:52:10 +02:00
Jeremy Gardais 8ea845f74e
Rename script to check APT updates 2020-06-04 16:43:17 +02:00
Jeremy Gardais a2df1e2c4e
Avoid to count pending jobs in queue state command 2020-06-04 16:39:50 +02:00
Jeremy Gardais 01dac009a0
Script to check if APT upgrade is available
And prepare the host (by disabling SGE queue) in order to apply upgrades
asap.
2020-06-04 14:37:01 +02:00
Jeremy Gardais 4cfedce127
Add debug_message function 2020-06-04 11:31:13 +02:00
Jeremy Gardais d317376171
Add possibility to inherit DEBUG value 2020-06-04 11:22:50 +02:00
Jeremy Gardais 1cb88264ee
Add program name in debug messages 2020-06-04 11:22:20 +02:00
Jeremy Gardais 104932b182
Exit with error if the script end with queue enable 2020-06-03 17:51:31 +02:00
Jeremy Gardais 1e2bbcea40
Exit if the queue is already disable 2020-06-03 17:51:04 +02:00
Jeremy Gardais ea3ecf26cf
Script to disable a SGE queue on a host 2020-06-03 15:29:56 +02:00
Jeremy Gardais 4fb8b4c3b6
Script to verify cState version 2020-04-30 11:58:43 +02:00
Jeremy Gardais f71281593f
Fix nslcd proc name... 2020-04-29 08:44:40 +02:00
Jeremy Gardais 15ae72554b
New Proxmox vzdump script for Buster LXC template 2020-04-09 11:41:49 +02:00
Jeremy Gardais 77bca840f5
Update to Debian Buster 2020-04-09 11:29:46 +02:00
Jeremy Gardais 98434092ab
Update to Debian latest version 2020-03-30 09:11:12 +02:00
Jeremy Gardais 27d25a355b
Increase the nb of displayed tests to see a week 2020-03-28 09:46:14 +01:00
Jeremy Gardais 6945c0e867
Add type in support filename to avoid conflict 2020-03-28 09:41:44 +01:00
Jeremy Gardais 3fe298f961
Add a pattern for unsupported logging of self-test 2020-03-16 17:55:20 +01:00
Jeremy Gardais 48d61ec8a7
Set xymon as owner for logfiles 2020-03-11 14:14:16 +01:00
Jeremy Gardais 81cb710ec4
Fix comments about cleaning logfiles 2020-03-11 12:01:46 +01:00
Jeremy Gardais 30eb210111
Regenerate disk informations if too old 2020-03-11 11:31:43 +01:00
Jeremy Gardais 83f4d52260
Regenerate drivedb's compatible list only if old
And add a disk to that list only if not already present.
2020-03-11 11:25:06 +01:00
Jeremy Gardais 5c8a9f9bb5
Regenerate list of SMART disk only if too old 2020-03-11 11:20:26 +01:00
Jeremy Gardais d49b19bdc4
New function to regenerate a file if too old 2020-03-11 10:52:44 +01:00
Jacek Tomasiak af5c5d4ef4
- smart: fixed overall health color - smart: added WHEN_FAILED checking 2020-03-10 16:19:38 +01:00
Jeremy Gardais b5678dffe2
Remove temp file only if no upgrade detected 2020-03-09 11:47:36 +01:00
Jeremy Gardais 451cd0b01a
Add a script to monitor new version of Shaarli 2020-03-08 00:32:37 +01:00
Jeremy Gardais d6befb67e2
Move _smarctl_support_result file to XYMONTMP dir 2020-03-04 11:00:34 +01:00
Jeremy Gardais ac0d619cd7
Build a list of device known from smartmontools DB
And compatible with selftest logging.
This file can next be used by an advanced script.
2020-03-04 10:56:36 +01:00
Jeremy Gardais 60217f1eec
Rename logfiles and keep them between each run 2020-03-04 09:57:20 +01:00
Jeremy Gardais 087ccf5068
Use Xymon tmp dir 2020-03-03 14:20:18 +01:00
Jeremy Gardais ff84243229
Manage files with variables... 2020-02-28 15:14:36 +01:00
Jeremy Gardais 4d90168df5
Store files to Xymon's tmp dir (with var XYMONTMP) 2020-02-28 14:36:00 +01:00
Jeremy Gardais e55b2d990f
Regenerate disk_list file if too old 2020-02-28 14:22:32 +01:00
Jeremy Gardais a9d76dd030
Put disk_list file content to disks array 2020-02-28 13:58:33 +01:00
Jeremy Gardais ddd9191af9
Create a file with the list of disks to test 2020-02-28 09:56:36 +01:00
Jeremy Gardais c954b608b6
Init smart plugin from Jacek Tomasiak
From: https://github.com/skazi0/xymon-plugins/blob/master/client/ext/smart
2020-02-28 09:53:47 +01:00
Jeremy Gardais 489983bedb
Run smartctl command to launch test 2020-02-27 16:36:52 +01:00
Jeremy Gardais a1bfb78037
Fix comments 2020-02-27 16:09:19 +01:00
Jeremy Gardais cf12d2bcd9
Ensure arguments have expected values 2020-02-27 16:04:49 +01:00
Jeremy Gardais fafd2cfc20
Get the test to run 2020-02-27 15:59:30 +01:00
Jeremy Gardais d14839762a
Display help message 2020-02-27 15:53:07 +01:00