Page 1 of 1

Tutorial on how to create checkcommands?

Posted: Mon Sep 16, 2019 10:39 pm
by whittakerj
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. 

Code: Select all

### 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?

RE: Tutorial on how to create checkcommands?

Posted: Tue Sep 17, 2019 1:12 am
by Premium
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"

Regards
Premium