Daily status report?

rader at ginseng.hep.wisc.edu rader at ginseng.hep.wisc.edu
Tue Aug 15 23:07:49 CEST 2006


 > From: Josh Yost
 > what kind of output are you wanting exactly?

Something like this:

bash$ nagiosr --help
usage: nagiosr [args]
  --state str     report about state str (down, critical, warning or unknown)
  --yesterday     report about yesterday 
  --day str       report for day str
  --start str     report starting at str
  --end str       report ending at str
  --soft          include soft state alerts
default reporting period is for all of today
bash$ nagiosr --yesterday

   Critical Nagios Alerts during Monday, August 14 2006

Date & Time Down   Date & Time Up    Description                  Plugin Output  Duration 
----------------   ----------------  ------------------------------------------  -------- 
Mon Aug 14 10:25   Mon Aug 14 10:27  login01 SSH Service       socket timed out     2m20s
Mon Aug 14 11:52   Mon Aug 14 11:58  sesame Load Average           6.83 loadave     5m32s
Mon Aug 14 13:27   ** still down **  cilanto NSR tape               99 GB avail    1d2h3m

Almost exactly a decade ago I coded just such a report generator
for an old network montoring package (NOCOL).  Someday I hope to
do the same for nagios.

steve 
- - - 
systems & network manager
high energy physics
university of wisconsin


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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