How to deal with hosts that are not always on

Marc Haber mh+nagios-users at zugschlus.de
Thu Aug 30 13:16:44 CEST 2012


On Thu, Aug 30, 2012 at 03:34:49AM -0700, Patrick Morris wrote:
> On 7/29/2012 1:51 AM, Marc Haber wrote:
> > I have a number of hosts that are not always turned on, such as my
> > Notebook, my home server (which sleeps if not used) and a number of
> > test VMs. To get a reasonable volume of checks in my test installation
> > of Nagios, I would like to have those machines monitored by it.
> >
> > Obviously, I have notifications for those hosts turned off. This,
> > however, leads to non-zero numbers in the critical, warning and
> > unknown fields in the CGI, which gives a wrong impression of my health
> > status since it is normal and expected that those hosts/services are
> > down.
> >
> > Is there any solution for this dilemma? Can I have Nagios monitor
> > hosts without reporting them as down when they are down?
> >
> > I know this may sound strange, but I would like to have statistics
> > about how long the machines have been up and when.
> >
> If you want to know how long the machines have been up and when, don't 
> you also need to know when they're not up?  I'm not sure how you'd get 
> any idea of your uptimes if you completely ignore downtimes -- Nagios 
> would think they'd always been up, and you'd have no usable statistics.

You're right, but this is only my play installation, so it delivers
not useable statistics anyway. Otoh, the case "host up, but no ssh
server" would be a reportable offense, for example.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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