hi
I'd like cacti to include the down time in the alert message like: device name(ip) is down at 15:02, 25 Feb
so I add status_fail_date to the alert msg in thold/setup.php function: thold_update_host_status(). It works, but it's not exactly what I want...
let's say cacti polls at 15:00, 15:05...and the device does actually turn down at 15:02. If do it in the above way, it returns me 15:05. But I want 15:02 in fact...
How can I get this 15:02 from cacti?
Thanks a lot!!
Saya
[SOLVED] want the exact time that a device down?
Moderators: Developers, Moderators
[SOLVED] want the exact time that a device down?
Last edited by saya on Tue Feb 26, 2008 7:34 pm, edited 1 time in total.
Re: want the exact time that a device down?
i think there is no way to get the "down-information" between 2 poller runs.saya wrote:hi
I'd like cacti to include the down time in the alert message like: device name(ip) is down at 15:02, 25 Feb
so I add status_fail_date to the alert msg in thold/setup.php function: thold_update_host_status(). It works, but it's not exactly what I want...
let's say cacti polls at 15:00, 15:05...and the device does actually turn down at 15:02. If do it in the above way, it returns me 15:05. But I want 15:02 in fact...
How can I get this 15:02 from cacti?
Thanks a lot!!
Saya
you can change your polling interval and all your templates to 1 minute polling. the "down-information" is a bit more exact.
Re: want the exact time that a device down?
Thank you for ur reply...kyosanim wrote:
i think there is no way to get the "down-information" between 2 poller runs.
you can change your polling interval and all your templates to 1 minute polling. the "down-information" is a bit more exact.
but is it possible that a device push an interrupt to cacti to notify the down information in stead of cacti itself pulling the information each other 300 secs?
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
is it an option to use 1 minute polling interval (with Cacti >= 0.8.7) ?
is it an option to use 1 minute polling interval (with Cacti >= 0.8.7) ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
yes it could be a way..and would return things like 15:01:00, 15:02:00...fmangeant wrote:Hi
is it an option to use 1 minute polling interval (with Cacti >= 0.8.7) ?
but I did see some one got message like 15:01:24, 15:02:48, it's also showing the seconds...I guess they made a shorter interval for polling
Thank you!
Who is online
Users browsing this forum: No registered users and 0 guests