Add sound notification in weathermap

Support questions about the Network Weather Map plugin

Moderators: Moderators, Developers

Post Reply
Author
Message
kokageo
Posts: 6
Joined: Mon Feb 08, 2016 4:56 am

Add sound notification in weathermap

#1 Post by kokageo » Tue May 24, 2016 5:32 am

Hello I want to add sound notification when links goes down (when link utilization is 0%)
question is in where can I catch this percent values in code and where display this alarm in map?

for example:
Capture.JPG
Capture.JPG (40.42 KiB) Viewed 1358 times

User avatar
Howie
Cacti Guru User
Posts: 5333
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Add sound notification in weathermap

#2 Post by Howie » Tue May 24, 2016 6:39 am

I would do this with either thold or monitor instead.

Weathermap doesn't have any concept of alarms.

It'll also take up to 10 minutes (two poller cycles) to show as 0%. Not a great SLA for actual monitoring!
Weathermap 0.98 is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)

kokageo
Posts: 6
Joined: Mon Feb 08, 2016 4:56 am

Re: Add sound notification in weathermap

#3 Post by kokageo » Wed May 25, 2016 2:46 am

yes it's ok form me
I need simple modify.
if link percent == 0
execute sound alarm;
thold is not solution form me.

User avatar
Howie
Cacti Guru User
Posts: 5333
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Add sound notification in weathermap

#4 Post by Howie » Tue May 31, 2016 6:54 pm

You should look at the postprocessing weathermap plugin hook when you are writing this. It will probably help.
Weathermap 0.98 is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)

Post Reply