After describing how to get notified of system criticalities via pager I wanted to have my DAPNET transmitters monitored via Nagios. A basic description can be found under . Firstly you need to set up the plugin check_http_json. The source and installation hints can be found on . That enables Nagios to query the DAPNET master using a JSON request and process the result.
A little different to the manual by RWTH Aachen I also configured the hostname of the master in /etc/nagios3/resource.cfg in order to have it not depend on the hostname of the Nagios host.
I added the following to /etc/nagios3/resouce.cfg:
1 2 3
These are parameters that can now be used for defining a service that checks the status of a DAPNET client resp. POCSAG transmitter. An example config for monitoring the POCSAG transmitter at DB0DDE is:
1 2 3 4 5 6 7
The check_http_json needs to be added to /etc/nagios3/command.cfg:
1 2 3 4
That also defines the usage of the variables set in resources.cfg.
There you go having your Nagios system monitoring a DAPNET transmitter. In my case the alarm in case of a failure is sent to me via email and pager alarm. The latter using a different transmitter of course ;-). The result in form of a picture can be seen in my previous post .