Commit Graph

72 Commits

Author SHA1 Message Date
Jeremy Gardais 3b29544775
Empty TEMP_MACO_UPDATE file if too old 2021-01-14 11:59:44 +01:00
Jeremy Gardais 7b33a5947d
Red color is reserved for failed update 2021-01-13 16:08:31 +01:00
Jeremy Gardais c6c1fd2bd0
Manage case if file isn't readable or unknown status 2021-01-13 15:43:37 +01:00
Jeremy Gardais bff4b528fa
Display MacoStatus information in Xymon Maco test 2021-01-13 15:18:08 +01:00
Jeremy Gardais e10658b1e5
Ensure to get main color 2021-01-13 13:48:33 +01:00
Jeremy Gardais c2519ebc5c
Redirect header to PLUGIN_RESULT file… 2021-01-13 13:11:02 +01:00
Jeremy Gardais 88c0b2766f
Add title with add_header func 2021-01-13 13:02:32 +01:00
Jeremy Gardais 176835f599
Check if urgent update is pending 2021-01-13 12:57:40 +01:00
Jeremy Gardais d8ecdc01e1
Check if normal update is pending 2021-01-13 12:40:03 +01:00
Jeremy Gardais cc83325ed9
Check maco_update if any file is empty 2021-01-13 12:16:37 +01:00
Jeremy Gardais 19c1756bef
COLOR is added to PLUGIN_RESULT line if expected 2021-01-13 12:06:55 +01:00
Jeremy Gardais b6eb13621d
Rename get_maco_status to get_maco_update 2021-01-13 11:21:23 +01:00
Jeremy Gardais 9fa3f4b908
Edit testing message 2021-01-13 11:05:11 +01:00
Jeremy Gardais 3a9bcb6979
Add detailed informations for maco probe 2020-06-15 17:48:26 +02:00
Jeremy Gardais 5cdfcd7751
New Xymon probe for Maco 2020-06-15 15:48:09 +02:00
Jeremy Gardais 1b2148eceb
Display more informations after queue state 2020-06-10 16:15:29 +02:00
Jeremy Gardais 4baaabd346
More readable while loop 2020-06-10 16:11:17 +02:00
Jeremy Gardais 2dd8aa2ecc
Order alert status to get global color 2020-06-10 15:57:38 +02:00
Jeremy Gardais 8377f3ddce
Protect MACHINEDOTS var 2020-06-09 11:59:33 +02:00
Jeremy Gardais 1e315eedeb
Update comments 2020-06-09 11:57:57 +02:00
Jeremy Gardais 43fc733929
Fix xymon server var name (XYMSRV) 2020-06-09 11:47:53 +02:00
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 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 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 4bca7327b5
Add state and message if logging aren't supported 2020-02-26 11:43:15 +01:00
Jeremy Gardais 094c1d0f93
Set new foldmarker (for Ansible compatibility) 2020-02-25 17:36:34 +01:00
Jeremy Gardais 3e52ecdd31
Fix ddc0d42 with basename to get script name... 2020-02-24 14:31:04 +01:00
Jeremy Gardais 128865f877
Rename smart to smartoverall 2020-02-24 13:59:39 +01:00