Welcome to Questions - Ask OpenNMS, where you can ask questions and receive answers from other members of the community.

Is this possible to send notification based on severity?

0 votes
40 views

Hi,

OpenNMS notification was getting triggered into Slack Channel and Email successfully. I am getting events for Critical, Major, Minior, Warning, Normal, Cleared, and  Indeterminate. 

following the link.

Slack :  https://www.swissns.ch/site/2016/04/integrating-opennms-with-slack/

Email : https://wiki.opennms.org/wiki/Gmail_example_javamail-configuration.properties

Instead of getting every single event, I have to get only critical and major events in slack channel.

If node or service is down or up and any other issue. I need to get Major,Critical alert to be send to Slack Channel using XMPP.

If I get Major or Critical alert on opennms,it should send notification to Slack Channel.

I need limited alert from openNMS to Slack Channel.

I need to send alert based on severity.

Is this possible to send notification based on severity?

if yes, Can you tell me that how to do configuration

 

Thanks,

Manikanta Krishna Reddy

OpenNMS version
18.0.2
asked Nov 25, 2016 by reddym (170 points)
edited Jan 9 by mfuhrmann

1 Answer

0 votes
I don't know a mechanism like that.

Maybe you could grep your notification table via ReST api to get the notifications?
answered Jan 9 by mfuhrmann (7,350 points)
edited Jan 9 by mfuhrmann
...