nagios trigger an alert after installation

Bryan Hunt asked:

I’ve just done a bunch of Nagios installs. Now comes the time to test them. What I’d like to do first is just a quick sanity check to verify the install went correctly.

Is there a quick way to trigger a Nagios alert, with the default install, short of filling up the hard disk using dd or suchlike?

My answer:


Nagios (as shipped with the EPEL repository) comes with a sample configuration which monitors localhost out of the box, as soon as you service nagios start. If you’ve installed Nagios from EPEL on a RHEL (or clone) box, then it should already be giving you host and service status reports for localhost.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.