Using PHP Mail (using Postfix 2.6.6) on 2015R2.1.
The link to dashboard behaves really differently depending on the time interval specified in the "Edit an Alert" window for the Lookback Period and Check Interval box:
In the examples below the Lookback was 60 (s/m/h/d) and Check Interval was 30 (s/m/h/d).
Minutes is OK
Code: Select all
See the last 60m in the dashboard:
http://nlsbox/nagioslogserver/index.php/alerts/show/LkMvdtHuT5yhgSZ8ODCNhA?s_to=2015-07-22T15:17:57Z&s_from=2015-07-22T14:17:57Z Code: Select all
See the last 60s in the dashboard:
http://nlsbox/nagioslogserver/index.php/alerts/show/LkMvdtHuT5yhgSZ8ODCNhA?s_to=2015-07-22T15:39:41Z&s_from=1970-01-01T00:00:00ZAlso - The Text "See the last X in the dashboard" X = Lookback Period. But the time difference in the TO and FROM fields is actually the check interval in this case.
Code: Select all
See the last 60h in the dashboard:
http://nlsbox/nagioslogserver/index.php/alerts/show/LkMvdtHuT5yhgSZ8ODCNhA?s_to=2015-07-22T15:16:46Z&s_from=2015-07-24T22:16:46Z
Code: Select all
See the last 60d in the dashboard:
http://nlsbox/nagioslogserver/index.php/alerts/show/LkMvdtHuT5yhgSZ8ODCNhA?s_to=2015-07-22T15:15:44Z&s_from=2015-05-23T15:15:44Z
Side note - the help bubble for the Lookback and Check Interval boxes should indicate that HOURS is the default unit if no unit is specified. Also, the default unit should really probably be seconds.