Checking Nagios...

Dan Sargent dan.sargent at webgravity.co.uk
Fri Aug 29 18:07:26 CEST 2003


You could use the nrpe plugin to run the check_nagios plugin on the remote
PC



-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Kalle
Andersson
Sent: 29 August 2003 15:34
To: Francois Meehan
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Checking Nagios...


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

________________________________________________________________________
This inbound email has been scanned for all viruses by the MessageLabs
SkyScan
service. For more information, visit http://www.messagelabs.com
________________________________________________________________________



-------------------------------------------------------
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