[Nagios-users] Notifications for Services that are Up

2011-09-02 Thread Michael Loiselle
Hello,

I am currently running Nagios 3.3.1 on Ubuntu 10.04 and everything is working 
great.  I am monitoring 30 Windows servers with NSClient++, and that is working 
as well.  Is it possible to receive a notification for a specific service that 
is in the up position?  In other words, I would like to get a notification 
every 4 hours, confirming that a service is actually running.  If it stops on 
Friday evening, I do not want to wait until Monday morning to find out it is 
not running.  I would personally rather receive a message every four hours.  
Notifications are currently set up and working flawlessly, so I just need to 
know what I need to change in the config files to get this to work.  Any help 
is appreciated.

Thanks,
Mike


The information contained in this email and any attachments is confidential and 
may be subject to copyright or other intellectual property protection. If you 
are not the intended recipient, you are not authorized to use or disclose this 
information, and we request that you notify us by reply mail or telephone and 
delete the original message from your mail system.
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Notifications for Services that are Up

2011-09-02 Thread Mike Lindsey

On 9/2/11 7:59 AM, Michael Loiselle wrote:
I am currently running Nagios 3.3.1 on Ubuntu 10.04 and everything is 
working great.  I am monitoring 30 Windows servers with NSClient++, 
and that is working as well.  Is it possible to receive a notification 
for a specific service that is in the up position?  In other words, 
I would like to get a notification every 4 hours, confirming that a 
service is actually running.  If it stops on Friday evening, I do not 
want to wait until Monday morning to find out it is not running.  I 
would personally rather receive a message every four hours.  
Notifications are currently set up and working flawlessly, so I just 
need to know what I need to change in the config files to get this to 
work.  Any help is appreciated.
Not entirely sure what you're trying to solve here?  Generally it is 
good if you can get to a place where you trust your monitoring system.  
It should be telling you if something has broken, but if something 
continues to run well, the monitoring system should shut up and not 
bother you.


If it stops on Friday evening, you should get an email immediately (or 
as soon as Nagios notices it...)  If by it stops you mean Nagios 
stops then that's a separate problem - I have a secondary system that 
ONLY monitors my primary Nagios infrastructure.  If the primary system 
fails, the secondary system emails me - well, pages me, my secondary, 
all of ProdOps, etc.


TL;DR:  No easy way to have an OK service automatically email.  Nagios 
makes noise when things are broken, not when they're working.


--
Mike Lindsey

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Notifications for Services that are Up

2011-09-02 Thread Terry Carmen
Quoting Mike Lindsey mike-nag...@5dninja.net:

 On 9/2/11 7:59 AM, Michael Loiselle wrote:
 I am currently running Nagios 3.3.1 on Ubuntu 10.04 and everything  
 is working great.  I am monitoring 30 Windows servers with  
 NSClient++, and that is working as well.  Is it possible to receive  
 a notification for a specific service that is in the up position?

Just to toss another fly in the ointment, it's dangerous to test a  
service by examining what Windows thinks it's doing. Many times a  
service says it's up but is actually dead.

It would be more reliable to write a plugin that would actually  
examine the service to see if it can/is actually working. For example,  
with a database, you can do a SELECT on a known quantity and compare  
the result to what it should be.

What specific service are you trying to monitor?

Terry




--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Notifications for Services that are Up

2011-09-02 Thread Jim Avery
On 2 September 2011 15:59, Michael Loiselle mloise...@chan-nh.org wrote:
 Is it possible to receive a notification for a specific
 service that is in the “up” position?

If you really must do that, then assuming the check is an active one,
then it should be pretty trivial to run the plugin from cron and email
you whatever based on the exit code.  All that is done completely
outside Nagios.

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
Nagios-users mailing list
Nagios-users@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