ok Regards, Kranthi Kumar 9594453857 022-39961895
"The way you see them is the way you treat them and the way you treat them is the way they often become." [imagesCA9ET751] From: Gary L [mailto:garygregtra...@gmail.com] Sent: Thursday, June 27, 2013 12:48 PM To: net-snmp-users@lists.sourceforge.net Subject: Trouble adding MIBS into Nagios Hello Listers, This is my first post, and I'm very new at SNMP so please accept my apologies in advance. I am working with 2 systems Nagios XI and Solarwinds in a test envioronment. I am sending traps successfully from Solarwinds to Nagios, but the traps seem to appear only in the file /var/log/snmptt/snmpttunknown.log on the Nagios box. The Nagios helpdesk people tell me I have a problem with my MIBS. I agree but need some help correcting it. Solarwinds provided 2 MIB files (originally with at least 2 errors included) which I have attached. I believe the first MIB, SOLARWINDS-PRODUCTS, is a prerequisite for the second MIB, SOLARWINDS-TRAPS. In the Nagios XI GUI, there is a checkbox for "Process Traps" when adding MIBS. I must clear this checkbox when adding the first MIB - SOLARWINDS-PRODUCTS, since it does not contain any TRAP-TYPE statements. When I add the 2nd MIB, I set the checkbox and I get a message that 2 objects were loaded. I presume these are the 2 TRAP-TYPE statements for "genericAlert" and "detailedAlert". After I use the GUI to add MIBs, I also used the backend and run a script called "addmib", which is also attached. In trying to add the attached MIBS into Nagios, I get the impression that the MIBS were successfully added: [root@ip-10-0-0-100 snmptt]# snmptranslate SOLARWINDS-TRAPS::genericAlert SOLARWINDS-TRAPS::detailedAlert However when I examine /var/log/snmptt/snmpttunknown.log, I get the impression that either Nagios or some SNMP module did not accept the SOLARWINDS-PRODUCTS MIB since the last two nodes (11307.10) appear to be unknown to snmptranslate: [root@ip-10-0-0-100 snmptt]# snmptranslate .1.3.6.1.4.1.11307.10 SNMPv2-SMI::enterprises.11307.10 [root@ip-10-0-0-100 snmptt]# In /var/log/snmptt/snmpttunknown.log: Thu Jun 27 02:35:07 2013: Unknown trap (.1.3.6.1.4.1.11307.10) received from ip-10-0-0-111 at: Value 0: ip-10-0-0-111 Value 1: 10.0.0.111 Value 2: 0:0:00:00.00 Value 3: .1.3.6.1.4.1.11307.10 Value 4: 10.0.0.111 Value 5: Value 6: .1.3.6.1.4.1.11307 Value 7: Value 8: Value 9: Value 10: Ent Value 0: .1.3.6.1.4.1.11307.10.2=AMAZONA-MCC3CC0.ec2.internal Ent Value 1: .1.3.6.1.4.1.11307.10.3=10.0.0.111 Ent Value 2: .1.3.6.1.4.1.11307.10.4=1 Ent Value 3: .1.3.6.1.4.1.11307.10.5=AMAZONA-MCC3CC0.ec2.internal Ent Value 4: .1.3.6.1.4.1.11307.10.6=Node Ent Value 5: .1.3.6.1.4.1.11307.10.7=1 Ent Value 6: .1.3.6.1.4.1.11307.10.1=K's Alert message from SolarWinds. Ent Value 7: .1.3.6.1.4.1.11307.10.8=Alert G when a node goes down AMAZONA-MCC3CC0.ec2.internal is Up. [root@ip-10-0-0-100 snmptt]# date Thu Jun 27 02:39:26 EDT 2013 ----------------------------------------------------- Can anyone provide some advice on a good way to proceed? Hire a good SNMP contractor? Thanks! Gary The information contained in this electronic communication is intended solely for the individual(s) or entity to which it is addressed. It may contain proprietary, confidential and/or legally privileged information. Any review, retransmission, dissemination, printing, copying or other use of, or taking any action in reliance on the contents of this information by person(s) or entities other than the intended recipient is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us by responding to this email or telephone and immediately and permanently delete all copies of this message and any attachments from your system(s). The contents of this message do not necessarily represent the views or policies of Aditya Birla Group. Computer viruses can be transmitted via email. Aditya Birla Group Companies attempts to sweep e-mails and attachments for viruses, it does not guarantee that either are virus free. The recipient should check this email and any attachments for the presence of viruses. Aditya Birla Group does not accept any liability for any damage sustained as a result of viruses.
<<inline: image001.jpg>>
------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev
_______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users