I installed patch 817259 and decided to make some minor
modifications.
* Updated the restart code. It failed constantly so I
replaced it with code which used the nagios init.d
script. In order to have nagat restart nagios
correctly I used sudo. Run visudo and add the line
'nobody ALL=(root) NOPASSWD: /etc/init.d/nagios'
without the talking marks to enable the nobody user the
ability to execute the init.d script. If apache runs
as a different user change nobody accordingly.
* Updated the hostview screen to display all the hosts
in alphabetical order. I have added 2 functions to the
functions.inc file.
* Corrected the verify_cfg.php script. The script now
executes and the nagios command and prints the output.
Previously the execute code seemed to have been ommitted.
This is nagios in its entirity, not a patch. You will
need to modify the local.inc to configure it for your
setup and if your init.d file is stored somewhere other
than /etc/init.d/nagios you will need to modify the
exporter.php file.
The README files and associated documents have not been
altered, they are the same as the documents which come
with nagat 1.0a2.
Nagat improvement/patch based on patch 817259