Page 1 of 1
New View for Particular trap
Posted: Wed Mar 13, 2019 10:29 am
by jatindeepsharma
Dear Team,
Hope you are doing well.
I want to add a new view to my Nagios for a particular trap. how can i add it?
if i will select particular MIB there are various traps under that MIB. please help.
Regards
JD
Re: New View for Particular trap
Posted: Wed Mar 13, 2019 4:40 pm
by cdienger
https://assets.nagios.com/downloads/nag ... ios_XI.pdf covers integrating SNMP traps with XI. Note that this will usually cause all traps to send to a service called "SNMP Traps". You can change this by editing the EXEC line for the trap in the snmptt.conf file.
Re: New View for Particular trap
Posted: Thu Mar 14, 2019 6:21 am
by jatindeepsharma
cdienger wrote:https://assets.nagios.com/downloads/nag ... ios_XI.pdf covers integrating SNMP traps with XI. Note that this will usually cause all traps to send to a service called "SNMP Traps". You can change this by editing the EXEC line for the trap in the snmptt.conf file.
Thanks cdienger, i will try same & check if they are working fine.
Re: New View for Particular trap
Posted: Thu Mar 14, 2019 4:07 pm
by cdienger
Sounds good. Please keep us posted!
Re: New View for Particular trap
Posted: Wed Mar 20, 2019 9:53 am
by jatindeepsharma
Hi Cdienger,
I have already set up traps & front end is also working fine, but my concern is there is particular trap
Wed Mar 20 2019 10:48:27 .1.3.6.1.4.1.29723.100.3.1 Normal "Status Events" 96.64.104.17 - 21240 SMS Console System status=ON. - heartbeatNotify
i want to create particular view for same.
regards
JD
Re: New View for Particular trap
Posted: Thu Mar 21, 2019 11:10 am
by cdienger
You'll find an option to add the details of a trap to a view in the top right corner of the service's status scree. See attached image.
Re: New View for Particular trap
Posted: Fri Mar 22, 2019 8:09 am
by jatindeepsharma
my view is like that.
Re: New View for Particular trap
Posted: Fri Mar 22, 2019 3:01 pm
by cdienger
You should be able to find the particular snmp trap service either through that view or under Home > Details > Service Details, and then create a new view containing just that particular service's detail.
Re: New View for Particular trap
Posted: Mon Mar 25, 2019 2:15 pm
by jatindeepsharma
Thanks cdienger, actually that particular MIB is eliminated from mib file that is why i am not receiving that trap.
can i just add that mib into my file & i will start receiving that trap?
Regards
JD
Re: New View for Particular trap
Posted: Mon Mar 25, 2019 4:25 pm
by cdienger
You would need to reimport the modified MIB file in the web UI or use the addmib command from the command line. See the "Installing MIBs" section of
https://assets.nagios.com/downloads/nag ... ios_XI.pdf