Thold Audible Alert possible?
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 52
- Joined: Sun Sep 18, 2005 3:38 pm
Thold Audible Alert possible?
Is it possible for Thold when a threshold is breached that is can sound an audible alert like monitor does for a downed host.?
-
- Cacti User
- Posts: 70
- Joined: Tue Feb 21, 2006 9:50 am
Yes it is
Hi members,
I have modified graph_thold.php to give sound alert in case a host goes down or a threhsold is breached i have tested ti be working fine. Also i have modified it to refresh at 30 second. Please note that u need to have monitor plugin installed for it to work as it calls few monitor plugin objects so it can be a converged interface for monitor.
I have modified graph_thold.php to give sound alert in case a host goes down or a threhsold is breached i have tested ti be working fine. Also i have modified it to refresh at 30 second. Please note that u need to have monitor plugin installed for it to work as it calls few monitor plugin objects so it can be a converged interface for monitor.
- Attachments
-
- graph_thold.zip
- (2.41 KiB) Downloaded 938 times
-
- Cacti User
- Posts: 52
- Joined: Sun Sep 18, 2005 3:38 pm
-
- Cacti User
- Posts: 52
- Joined: Sun Sep 18, 2005 3:38 pm
Test and yes works fine had to add / copy siren.wav into the plugin/monitor/images folder.
Do you know if it is possible to set focus to the thold tab when triggered. ie if default view is weathermap cycling through the maps, when a thold is breached, could we set focus to the thold tab to show the alerts as a present the audio only plays when focus is on the thold tab.
Thanks
Do you know if it is possible to set focus to the thold tab when triggered. ie if default view is weathermap cycling through the maps, when a thold is breached, could we set focus to the thold tab to show the alerts as a present the audio only plays when focus is on the thold tab.
Thanks
-
- Cacti User
- Posts: 70
- Joined: Tue Feb 21, 2006 9:50 am
-
- Cacti User
- Posts: 70
- Joined: Tue Feb 21, 2006 9:50 am
-
- Cacti User
- Posts: 70
- Joined: Tue Feb 21, 2006 9:50 am
-
- Posts: 15
- Joined: Thu Jan 21, 2010 3:11 am
Re: Thold Audible Alert possible?
This is mine. But it would be no mute button, so we cannot mute it.
_________________
Cacti Version - 0.8.7g & CMD
Plugin Architecture - 2.8
Server Info - Linux
Web Server -Apache/2.0.63
PHP - 5.1.6
MySQL - 5.0.45
RRDTool - 1.2.29
SNMP - 5.3.2.2
--------------------------
plugins:
monitor 0.8.2|thold 0.4.3
_________________
Cacti Version - 0.8.7g & CMD
Plugin Architecture - 2.8
Server Info - Linux
Web Server -Apache/2.0.63
PHP - 5.1.6
MySQL - 5.0.45
RRDTool - 1.2.29
SNMP - 5.3.2.2
--------------------------
plugins:
monitor 0.8.2|thold 0.4.3
- Attachments
-
- monitor.rar
- (7.69 KiB) Downloaded 278 times
Who is online
Users browsing this forum: No registered users and 1 guest