]>
arthur.barton.de Git - nagcollect.git/commit - client/bin/nagcollecttest
Ehnance nagcollecttest, now it is a "nagios plugin wrapper"
Now the client/bin/nagcollecttest script can be used as a "nagios plugin
wrapper", for example you can use
define command {
command_name nagcollect
command_line /usr/local/sbin/nagcollecttest $ARG1$
}
define command {
command_name ssh_nagcollect
command_line /usr/lib/nagios/plugins/check_by_ssh -t 60 -l root \
-H '$HOSTADDRESS$' -C '/usr/local/sbin/nagcollecttest $ARG1$'
}
in your Nagios configuration to define check commands that use the
NagCollect plugins on the local and remote hosts.