Checking Nagios...

Kalle Andersson kalle at kontilint.se
Fri Aug 29 16:34:28 CEST 2003


Francois Meehan wrote:

> Hi all,
> 
> Is there a script or utility to check if Nagios is running from another 
> PC? That would send me an e-mail if Nagios would be down.
> 
> I know the best way would be to have a second instance of Nagios but I 
> am looking for something simple.
> 
> 
> Regards,
> 
> Francois
> 

Francois,

If both machines are unixes you could use ssh/rsh in order to run 'ps' 
on the nagios-system and if there is no nagios-process active send an 
e-mail.
Such script would be trivial and you could run it through crontab at 
whatever interval you'd like.

-- 
Best regards / Med vänlig hälsning
Kalle Andersson, CISSP
Säkerhetskonsult / Kontilint Data AB
Mail: kalle at kontilint.se
Tel: +46-702-420659



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list