tags/smeserver-zabbix-agent-0.4.5-1
parent
4cd1050cfc
commit
e9f44d8d03
2 changed files with 14 additions and 1 deletions
@ -0,0 +1,13 @@ |
||||
{ |
||||
$OUT = ''; |
||||
qx(zabbix_agentd -t vfs.dev.discovery -c /dev/null | grep -q ZBX_NOTSUPPORTED); |
||||
if ($? != 0){ |
||||
$OUT .= '# vfs.dev.discovery is natively supported, not UserParameter needed'; |
||||
} else{ |
||||
$OUT .=<<'_EOF'; |
||||
# Discover block devices |
||||
UserParameter=vfs.dev.discovery,/var/lib/zabbix/bin/disco_block_devices |
||||
_EOF |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue