Nagios - Custom Report Generation

Naveen SINGH nkr.singh at gmail.com
Thu Apr 1 09:16:20 CEST 2010


Hi,

I want to generate a custom report in "Nagios-3.2.0". I have defined the
work-hours in "timeperiods.cfg" as follows:

#workhours' timeperiod definition

define timeperiod {

timeperiod_name 0800-2000
alias       full time

monday      08:00-20:00
tuesday     08:00-20:00
wednesday   08:00-20:00
thursday    08:00-20:00
friday      08:00-20:00
saturday    08:00-20:00
}

Now, if I replace "saturday" with "2010-03-27" or "march 27" as shown below:

#workhours' timeperiod definition

define timeperiod {

timeperiod_name 0800-2000
alias       full time

monday      08:00-20:00
tuesday     08:00-20:00
wednesday   08:00-20:00
thursday    08:00-20:00
friday      08:00-20:00
2010-03-27      08:00-20:00
}

Nagios is not generating report for the given date (2010-03-27).

How can I modify "timeperiods.cfg" so that I can generate reports for the
given dates ?

Thanks,
Naveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100401/d1c9ff3d/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-------------- next part --------------
_______________________________________________
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