Hi, Le lundi 10 janvier 2011 à 23:00 +0100, Sven Nierlein a écrit : > Hi, > > On 1/10/11 18:41, Laurent Guyon wrote: > > When receiving a malformed request, sent by Thruk for generating an > > availability report based on a custom time period, livestatus broker > > module crashes : > > > This request is malformed (the second 'time' filter lacks a value, it > > should be the current date & time), and the livestatus module crashes > > when calling the int() converter on '' : > > What did you enter into the form to produce this request? > > Thanks, > Sven
Using Thurk v0.76, I generated a custom availability report on 1 host : * report period : custom report period * start date : 07/01/2011 * end sate : 10/01/2011 All other options let to their default value : * Assume Initial States: Yes * Assume State Retention: Yes * Assume States During Program Downtime: Yes * Include Soft States: No * First Assumed Host State: Unspecified * First Assumed Service State: Unspecified * Backtracked Archives (To Scan For Initial States): 4 And it produced this strange request. With the fix, Shinken livestatus module returns some data instead of crashing (verifying the filter time >= 0 and time <= now, that is not what i've asked, but better than nothing), and I don't know how these data are interpreted by Thruk, but the generated report have a duration of 0 day, 0 hour, 0 min and 0 seconds. Strange interactions ;) Laurent ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Shinken-devel mailing list Shinken-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shinken-devel