-
Re: Convert Trap to Alert?
denny.lecompte Apr 6, 2009 10:04 PM (in response to stevenoel)Do you want the Trap to create an Advanced Alert?
-
Re: Convert Trap to Alert?
stevenoel Apr 7, 2009 7:23 AM (in response to denny.lecompte)Yes - when a trap comes in to the Solarwinds server I'd like to convert it to an Advanced Alert.
-
Re: Convert Trap to Alert?
pg01 Apr 7, 2009 10:09 AM (in response to stevenoel)I'm interesting in doing this as well.
-
-
Re: Convert Trap to Alert?
AdamTAnthony Apr 7, 2009 11:16 AM (in response to denny.lecompte)That would be extremely useful. What are the other available options with Traps in the current release? We only have them displayed on our summary page – could not figure out much beyond that.
The Alerts work great for issue workflow, and certain traps are what really kick off a process – so to have Solarwinds seed the Alert and generate the email automatically would be a huge help.
It would also be great if there were other ways to create alerts….
A manual alert – if one engineer notices a system issue that isn’t captured by the monitoring, they could create a manual alert and the IT team would have a single list of alerts / action items. Solarwinds isn’t a ticketing system, but certain issues fit as alert.
An alert interface – creating an alert from a program or script would really help to make Solarwinds the one-stop for system monitoring. We are generating traps with scripts and programmatically for some systems, so having Trap->alert and/or another way to create alerts is definitely wanted.
-AA
-
Re: Convert Trap to Alert?
stevenoel Apr 8, 2009 8:27 PM (in response to AdamTAnthony)Denny are you still watching this thread? Any comments on if this can be done?
Is there any sort of API in to Solarwinds? We could write a custom script to create the alerts which would get called from the trap collecter as an external agent if there was an API to create alerts with.
-
Re: Convert Trap to Alert?
denny.lecompte Apr 9, 2009 9:34 AM (in response to stevenoel)I am definitely watching this thread. There's no way to do this now, but it's something we're looking at for a future release.
-
Re: Convert Trap to Alert?
AdamTAnthony Apr 9, 2009 9:57 AM (in response to denny.lecompte)could you show us how alerts are added to the solarwinds database? If I had that information, I could probably do what we're talking about there....
-AA
-
Re: Convert Trap to Alert?
denny.lecompte Apr 9, 2009 10:44 AM (in response to AdamTAnthony)could you show us how alerts are added to the solarwinds database? If I had that information, I could probably do what we're talking about there....
I wish it were that straightforward. It's more than just an entry in a database. There's other compiled code that has to run to make it all work.
-
Re: Convert Trap to Alert?
AdamTAnthony Jun 5, 2009 1:43 PM (in response to denny.lecompte)Denny - your developers lied to you.... I did it...
-Adam
To Manually Trigger An Alert:
Insert INTO AlertStatus (AlertDefID, ActiveObject, ObjectType, State, WorkingState, ObjectName, TriggerCount)
VALUES ('{846CC1D9-7947-4AD6-A7FA-43D905836FED}',2617,'Node',2,0,'SNMPTRAP',1)
Or
Insert INTO STOREWAN..AlertStatus (AlertDefID, ActiveObject, ObjectType, State, WorkingState, ObjectName, TriggerCount) VALUES ('{846CC1D9-7947-4AD6-A7FA-43D905836FED}',2617,'Node',2,0,'SNMPTRAP',1)
* - 2617 is the ID of my filler node SNMPTRAP
** - you can only add one alert like this at a time, because you can only have one active instance of an alert on a given node
Custom Reset Query:
You want to clear your manual alerts when they are acknowledged because if you don't "AlertStatus" tables will accumulate or you won't get alerts. IMPORTANT – this seem to get wiped out if you edit the alert using the GUI.
How to: Find the your custom alert in the table "AlertDefinitions", by "AlertName", and enter the following in the "ResetQuery" field:
SELECT AlertStatus.ActiveObject AS NetObjectID FROM AlertStatus WHERE ( (AlertStatus.Acknowledged = '1') )
Linking to Traps:
From the trap manager, you can go to "View->Alerts/Filter Rules", and associate traps with Alerts(*) and Actions
(* - not Solarwinds Advanced Alerts unfortunately, or I wouldn’t have do to any of this – they’re >email< alerts)
We’re not doing an email alert though – do an “Action - Execute an external program”, and specify a batch containing this command:
bcp "Insert INTO STOREWAN..AlertStatus (AlertDefID, ActiveObject, ObjectType, State, WorkingState, ObjectName, TriggerCount)VALUES ('{846CC1D9-7947-4AD6-A7FA-43D905836FED}',2617,'Node',2,0,'SNMPTRAP',1)" queryout temp.txt -T -c
Test The Process:
Trapgen works well enough…
trapgen -d 192.168.1.111 -v 1.3.6.1.4.1.1824.1.0.0.1 STRING "This is a test..."
-
Re: Convert Trap to Alert?
jmckean Jul 2, 2009 9:58 AM (in response to AdamTAnthony)So is this going to be a feature release?
I am trying to get Orion to alert on HP/SIM events. I have traps forwarded to Orion, but cannot get it to display on our alerts page.
-
Re: Convert Trap to Alert?
denny.lecompte Jul 2, 2009 10:10 AM (in response to jmckean)So is this going to be a feature release?
It's under consideration, but I can't make any promises.
-
Re: Convert Trap to Alert?
profzoom1 Jul 2, 2009 10:54 AM (in response to denny.lecompte)This would be a huge benifit in creating alerts.
I hae tried doing this as mentioned above but it failed to email any messages out, so having the tie into the advanced alerts would be a big plus.
-
-
-
Re: Convert Trap to Alert?
wwright00 Oct 29, 2009 10:31 AM (in response to AdamTAnthony)what type of Database are you using, full blown microsoft SQL or SQL express? i can follow your sql statments but im more confortable with your standard MySQL database functionality.
-
Re: Convert Trap to Alert?
AdamTAnthony Oct 29, 2009 12:35 PM (in response to wwright00)Full SQL... That's shouldn't matter much for you....
My database name is STOREWAN - that could be a sticking point for some of you - that needs to match your actual database name...
-AA
-
-
-
-
-
-
-
-
-
Re: Convert Trap to Alert?
Mike Lomax Jun 20, 2012 10:22 PM (in response to stevenoel)Are there any updates on the availability to integrate traps into Advanced Alerts within the current release of NPM?
-
-
-
Re: Convert Trap to Alert?
mdriskellNov 19, 2012 10:25 AM (in response to sluke)
While this isn't directly a topic of a recent feature request I made I would encourage you to review and vote on this idea as a complete overhaul of trapping is needed in my opinion.
-
-
Re: Convert Trap to Alert?
djobrien Feb 17, 2014 1:30 PM (in response to stevenoel)1 of 1 people found this helpfulThis is a huge problem and needs to be addressed! My companies HP NNM monitoring relied mostly on trap based alerting. Our NOC needs to be able to see some sort of notification from traps. Automatic actions may not be enough or even required.
-
Re: Convert Trap to Alert?
bsciencefiction.tv Mar 6, 2014 11:12 AM (in response to djobrien)I wonder what the logic is in this not being a feature. CA Spectrum was doing this years ago. This is much needed functionality and one would think the code would be pretty simple.
-
Re: Convert Trap to Alert?
nick_scott Feb 24, 2016 9:50 AM (in response to djobrien)I have the exaxt same issue, we are migrating from NNM into SW. SW cannot view traps in the alerts window....
-
-
Re: Convert Trap to Alert?
danielgilbey Mar 13, 2014 11:05 AM (in response to stevenoel)1 of 1 people found this helpfulI've just been asked this question by one of our network team & came to Thwack looking for answers...
Got in touch with my Solarwinds rep as well & the tech team there pointed me to this - can't say for sure that this is an integral part of the NPM suite, but I believe so
-
Re: Convert Trap to Alert?
Mike Lomax Mar 13, 2014 11:14 AM (in response to danielgilbey)Actually the conversation here is about alerting through the Advanced Alert manager rather than using the Trap Alert manager. There is much more flexibility in the Advanced Alert manager than the Trap Alert manager.
This still does need to be addressed and for some reason SolarWinds seems to be avoiding the topic unfortunately for us.
-
Re: Convert Trap to Alert?
RichardLettsMar 13, 2014 2:29 PM (in response to Mike Lomax)
see the last post from m on this thread: SNMP Trap Alerting questions
-
-
-
Re: Convert Trap to Alert?
herwig Mar 19, 2014 10:46 AM (in response to stevenoel)1 of 1 people found this helpfulI created an idea/feature request for this topic and hope it covers most of the needs also covered in this post?
A lot of people seem to want this and also most competitive products support propper Trap handling:
http://thwack.solarwinds.com/ideas/3580
Please vote!
-
Re: Convert Trap to Alert?
carlton.patterson@matthey.com Sep 12, 2014 4:52 AM (in response to herwig)How do I vote?
-
Re: Convert Trap to Alert?
maria.bungau Sep 15, 2014 7:01 AM (in response to carlton.patterson@matthey.com)Hey carlton.patterson@matthey.com,
Once an idea is in What We're Working On stage, you can no longer vote on it.
-
-
-
Re: Convert Trap to Alert?
sja Nov 16, 2017 12:53 PM (in response to stevenoel)looking forward to the invitation ..10 years .?
Please solarwinds we still looking for that Snmp trap support
-
Re: Convert Trap to Alert?
dreddJan 31, 2018 9:30 AM (in response to stevenoel)
Is this ever gonna happen?
-
Re: Convert Trap to Alert?
er.vansh17091 Apr 7, 2018 7:53 PM (in response to stevenoel)Hey any one can reply on this article for refundency?
-
Re: Convert Trap to Alert?
bobmarleyApr 9, 2018 10:24 AM (in response to stevenoel)
One workaround I used was fronting NPM with Kiwi and converting the traps to syslogs and then forwarding on to NPM's sylsog engine.
Not a great solution but it worked.