https://github.com/asuknath/Nagios-Status-JSON

cd /opt/omd/sites/your-site-name-here/share/nagios/htdocs

wget https://raw.githubusercontent.com/asuknath/Nagios-Status-JSON/master/nath_status.php

nano nath_status.php
$statusFile = '/opt/omd/sites/your-site-name-here/tmp/nagios/status.dat';

Get the app at https://play.google.com/store/apps/details?id=com.serveralarms.nagios

Use you nagios username and password and point it to http://monit.yourdomain.com/your-site-name-here/nagios/ (keep the last slash)

Advertisements