Hello There, Guest! Login Register
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Tutorial on how to create checkcommands?

I installed NEMS last week and I think I've got it figured out for the most part using the built in features. Awesome tool and I love the fact that I can easily deploy it to a pi. However, I can't find any good tutorials on creating checkcommands. I noticed when installed NRPE on my Asterisk server it gave me some commands. 

### ASTERISK ###
command[check_asterisk]=/usr/lib/nagios/plugins/check_asterisk.pl $ARG1$
command[check_sip]=/usr/lib/nagios/plugins/check_sip $ARG1$
command[check_asterisk_sip_peers]=sudo /usr/lib/nagios/plugins/check_asterisk_sip_peers.sh $ARG1$
command[check_asterisk_version]=/usr/lib/nagios/plugins/nagisk.pl -c version
command[check_asterisk_peers]=/usr/lib/nagios/plugins/nagisk.pl -c peers
command[check_asterisk_channels]=/usr/lib/nagios/plugins/nagisk.pl -c channels
command[check_asterisk_zaptel]=/usr/lib/nagios/plugins/nagisk.pl -c zaptel
command[check_asterisk_span]=/usr/lib/nagios/plugins/nagisk.pl -c span -s 1

The problem is I have no idea how to turn these into checkcommands. Would it be possible to write a tutorial or video on how a person could find a script on https://exchange.nagios.org/ and turn it into a checkcommand from beginning to end?
Hello whittakerj

The documentation will be updated in the future.

If you have a request for a new feature, please post it in "Feature Requests"

Model : Raspberry Pi 3 +
Version : 1.5
Build : 8
Forum Jump:

Users browsing this thread: 1 Guest(s)