]> arthur.barton.de Git - nagcollect.git/commit - client/bin/nagcollecttest
Ehnance nagcollecttest, now it is a "nagios plugin wrapper"
authorAlexander Barton <alex@barton.de>
Wed, 22 Aug 2012 14:00:15 +0000 (16:00 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 22 Aug 2012 14:00:15 +0000 (16:00 +0200)
commitad66976e79c7d292b250a9148c85835e5d93c096
tree1854450620cce65643f1fdf533905c6b886764aa
parent1db2414a5f27bf29b8870e01524eba6aa260d622
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.
client/bin/nagcollecttest