Daniel Berteaud
708cdf2747
Skip block which won't support smart data
2013-04-22 19:25:24 +02:00
Daniel Berteaud
bb5e69ff30
update spec file
2013-04-22 19:21:26 +02:00
Daniel Berteaud
5229ca1e37
Use full path to smartctl binary so system call works with sudo
2013-04-22 19:20:35 +02:00
Daniel Berteaud
2d2bfe703c
Fix permissions on sudoers conf
2013-04-22 18:35:50 +02:00
Daniel Berteaud
848c9ac61c
update spec file
2013-04-22 16:54:37 +02:00
Daniel Berteaud
754005c380
Rewrite disco_smart_sudo in perl and switch to read /sys/block so it can detect smart capable drives with older smartctl
2013-04-22 16:53:52 +02:00
Daniel Berteaud
523b45b406
initialize an empty array in disco_sensors
2013-04-19 18:18:16 +02:00
Daniel Berteaud
828a502ea2
initialize an empty array in disco_lvm_sudo
2013-04-19 18:17:07 +02:00
Daniel Berteaud
54ffe7c67c
initialize an empty array in disco_block_devices
2013-04-19 18:16:28 +02:00
Daniel Berteaud
40241f2fb8
Return an empty set of ups instead of ZBX_NOTSUPPORTED if no UPS is found or upsc is not installed
2013-04-19 18:15:30 +02:00
Daniel Berteaud
7d7f7e27de
update spec file
2013-04-19 11:30:48 +02:00
Daniel Berteaud
fc6d32923d
Add discovery script and conf for nut ups
2013-04-18 14:37:28 +02:00
Daniel Berteaud
1015709880
Possibility to base64 encode the regex passed to zabbix agent
2013-04-18 14:03:22 +02:00
Daniel Berteaud
34ef6daf64
Pass a regex to backuppc discovery. Default is .*, so every hosts are returned. You can use this to selectively ignore hosts
2013-04-18 13:36:07 +02:00
Daniel Berteaud
c9cc8235c4
On some system (debian), logical volume already have /dev/$group in their name
...
So fix the logical volume name in this case
2013-04-18 10:13:15 +02:00
Daniel Berteaud
6137dbbab2
Disable the manual net.if.discovery key as it conflicts with the builtin one
2013-04-18 09:24:42 +02:00
Daniel Berteaud
006f811f40
update spec file
2013-04-18 08:49:51 +02:00
Daniel Berteaud
f3ca95b83f
do not prepend /dev to block device names
2013-04-17 17:07:25 +02:00
Daniel Berteaud
beadda2634
Fix network interface discovery script
2013-04-17 16:52:38 +02:00
Daniel Berteaud
9983c2ea30
Add scripts to discover network interfaces
2013-04-17 15:39:57 +02:00
Daniel Berteaud
2fb07c9291
update spec file
2013-04-17 14:00:00 +02:00
Daniel Berteaud
b1c1224496
Fix a typo in smart.conf
2013-04-17 13:58:56 +02:00
Daniel Berteaud
50e3e357ff
update spec file, first stable release
2013-04-17 13:44:06 +02:00
Daniel Berteaud
ce328362e3
bump release
2013-04-17 09:38:47 +02:00
Daniel Berteaud
3ce2c063d9
Skip block devices with a 0 size, and return the size for each block device
2013-04-16 13:38:33 +02:00
Daniel Berteaud
f88be7264b
Fix a typo in disco_block_device so that removable devices are excluded
2013-04-16 13:33:57 +02:00
Daniel Berteaud
e85d56f105
Fix an error message when no sensor is configured
2013-04-16 13:15:34 +02:00
Daniel Berteaud
166443918f
Do not prettify sensors discovery output (saves bandwidth)
2013-04-16 11:19:40 +02:00
Daniel Berteaud
03ab9c3d1b
Mark zabbix conf as config file (no replace on upgrade if customized)
2013-04-16 10:55:00 +02:00
Daniel Berteaud
9980952270
Support retrieving sensors thresholds and fix sensors conf
2013-04-16 10:53:06 +02:00
Daniel Berteaud
105b0d2d82
Add sensors checks, discovery and conf
2013-04-15 18:51:20 +02:00
Daniel Berteaud
79c3a90cf0
Fix JSON syntax error in disco_smart when several SMART capable drives are present
2013-04-15 16:29:13 +02:00
Daniel Berteaud
96d0cefd38
Remove the -w flag for BackupPC scripts
2013-04-15 15:50:12 +02:00
Daniel Berteaud
6bce770a07
Fix sudoers syntax
2013-04-15 15:04:30 +02:00
Daniel Berteaud
80b95a5d19
Various fixes to the spec file
2013-04-15 15:04:11 +02:00
Daniel Berteaud
48283e77c8
Add a minimal README file
2013-04-15 11:08:15 +02:00
Daniel Berteaud
2670cd57bd
Add spec file
2013-04-15 10:49:30 +02:00
Daniel Berteaud
7a015ecb7f
Add minimal sudo configuration
2013-04-15 10:23:45 +02:00
Daniel Berteaud
2c286311a5
Rename conf and scripts dir
2013-04-15 10:22:37 +02:00
Daniel Berteaud
fc8cd89ead
Support reporting max errors accepted for one host
2013-04-14 22:59:45 +02:00
Daniel Berteaud
59adef4377
Support an item which returns the period without backups before triggering a mail alert
2013-04-14 20:46:24 +02:00
Daniel Berteaud
e7cf5f74cd
Rewrite LVM check script and add discovery capabilities
2013-04-14 20:12:49 +02:00
Daniel Berteaud
532775e403
Enhance filesystem discovery:
...
- add {#FSDEVICE} with the block device backing the filesystem
- add {#FSWARNTHRES} and {#FSCRITTHRES} (which default to 85% and 95%). You can overwrite
the threshold like this:
* echo 90 > /home/.zbx_warning
* echo 98 > /home/.zbx_critical
2013-04-13 17:25:30 +02:00
Daniel Berteaud
a7d3fd9c7e
Add filesystem discovery script
2013-04-13 15:31:04 +02:00
Daniel Berteaud
31896bd441
Don't prettify JSON output (save bandwidth)
2013-04-12 19:47:58 +02:00
Daniel Berteaud
ea9c30ac6c
add block discovery
2013-04-12 19:46:43 +02:00
Daniel Berteaud
7ca8e6daa4
escape smart drives path
2013-04-12 15:24:51 +02:00
Daniel Berteaud
b3f251e937
Add SMART check and discovery scripts
2013-04-12 15:10:03 +02:00
Daniel Berteaud
f9d3f81616
Add backuppc discovery and check scripts and conf
2013-04-12 14:40:33 +02:00
Daniel Berteaud
bcc92a6193
Add megaraid script and conf
2013-04-11 22:12:43 +02:00