I have been working on tuning the BGP alert template and I have it working correctly for the API transport and Cisco Spark channel… But the event / alert text in the Alerts window on our dashboard looks to be coming from the Default alert tempate.
The event text that comes through on the Spark channel is what i would expect to come through on the Alerts dashboard. If I am wrong here, how do I correct it so that the event text is meaningful…???
So I am about to ask a dumb question… What use is the Alert widgets for dashboards if the information for the alert cannot be altered to something useful and meaningful…???
Code changes are always welcome if you feel that something that needs to changed submit a PR in git hub and or feature request in the community forums.
I guess the original intention was just to show alerts in the dashboards.
@krumm, I have the alerts widget added to my overview dashboard. It really is not very useful in comparison to what we are exporting off LibreNMS with Cisco Spark & the API transport.
The question that I am getting asked internally is why we need a separate system to get good event text / info.
What are other people using or how are they set up so that the alert widget is useful…??
The widget doesn’t pull the data from the transports or templates, it gets it directly from the DB and only does a rather naive approach on finding useful fields (AKA it shows anything with ID in the keyword).
This hasn’t been changed since the very first draft but it’s a no-brainer to have it formatted by the template definitions instead.
@Patrick_Topping (@Kevin_Krumm) , I’m curious if you can share how you got the Cisco Spark transport working for alerts. I have the transport configured, and when I “test transport” it sends the test message successfully to my Spark room. But it isn’t sending BGP events (which do show up on the dashboard) to Spark, and I can’t figure out why. Thanks in advance if you see this!
I wasn’t trying to hijack anyone’s thread. The thread seems pretty dead since last Nov. I was simply trying to get some helpful info from a fellow user who seemed to have been able to get something working that I was having an issue with.
Have you been able to make this change on your system…?? The text in the alerts is fairly useless for anything besides device up/down & interface up/down.