Ideas sought - reporting on monitored sites in TZs != Nagios TZ.

Stanley.Hopcroft at Dest.gov.au Stanley.Hopcroft at Dest.gov.au
Tue Apr 4 06:19:24 CEST 2006


Dear Folks,

I am writing to invite ideas about how to report on availability in
cases where there is one
Nagios monitoring hosts located in other time zones (TZ).

In many cases, people want reports of availability in 'business hours'
and Nagios does that 
beautifully by (avail.cgi) accepting the time_period to compute
availability over.

However, 'business hours' at the Nagios site is not the same as that in
the other sites, so
outages that should be excluded are not and outages that should be
included are excluded.

The best I can think of is defining a 'business hours' time_period that
spans business hours
in all the time zones. This has the advantage of not excluding any
outage but the drawback
of including outages that fall inside the left hand side of the time
period (morning outages
at remote sites that are way to early to be included. They are included
because it is say 8
am at the site where Nagios is even though it may be 5 am at the remote
site).

Another solution that doesn't cut it for us is multiple copies of
Nagios, each reporting on
'business hours' in the TZ where each copy is located.

A real nasty hack would be to wrap the host_check plugin with logic that

1 determines where the host is

2 decides whether or not to pass the down back to Nag depending on the
locations TZ

Obviously this is useless since it suppresses outages you may want to
report on in a 24x7
view.

The only other idea I have is

1 abandon Nagios reporting

2 have a global host event handler log outages in a DB

3 report by accumulating outages (depending on TZ) from the DB.

None of these are attractive.

Any other suggestions are welcome.

Thank you,

Yours sincerely.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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