On Apr 28, 2008, at 11:36 PM, Simon Kok wrote: > Hi there. > > I'm using Nagios 3.0.1 - primarily using the check_http command to > check the availability of some websites. > > I've set the log_rotation_method to be =h and I see that the log > file is rotated every hour but it only appears to have logged the > current state for that particular hour. For example, in the 3 AM > file, I only see listed the time stamp for what was checked at 3 AM > - nothing at 3:05, 3:10, 3:15, on so on. > > How do I get all activity from that one hour in that log file? >
Nagios only logs state changes and initial states (if you tell it to). HARD states are not logged. If you need a record of every check result, take a look at ndoutils to log to a database. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Nagios-users mailing list [email protected] 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
