Problem with CaMM
Moderators: Developers, Moderators
-
- Posts: 8
- Joined: Mon Apr 12, 2010 1:30 pm
Problem with CaMM
Hello,
I have problem with CaMM version 1.6.7 on Cacti 0.8.7g (PA version 2.9).
All traps form network device are in unknown trap with information
\'iso.3.6.1.4.1.9.9.43.1.1.6.1.3.61 (unknown):1 iso.3.6.1.4.1.9.9.43.1.1.6.1.4.61 (unknown):3 iso.3.6.1.4.1.9.9.43.1.1.6.1.5.61 (unknown):4 iso.3.6.1.6.3.18.1.3.0 (unknown):192.168.0.5 iso.3.6.1.6.3.18.1.4.0 (unknown):public iso.3.6.1.6.3.1.1.4.3.0 (unknown):iso.3.6.1.4.1.9.9.43.2\'
What must I do?
I have problem with CaMM version 1.6.7 on Cacti 0.8.7g (PA version 2.9).
All traps form network device are in unknown trap with information
\'iso.3.6.1.4.1.9.9.43.1.1.6.1.3.61 (unknown):1 iso.3.6.1.4.1.9.9.43.1.1.6.1.4.61 (unknown):3 iso.3.6.1.4.1.9.9.43.1.1.6.1.5.61 (unknown):4 iso.3.6.1.6.3.18.1.3.0 (unknown):192.168.0.5 iso.3.6.1.6.3.18.1.4.0 (unknown):public iso.3.6.1.6.3.1.1.4.3.0 (unknown):iso.3.6.1.4.1.9.9.43.2\'
What must I do?
Re: Problem with CaMM
Hi,
please provide the community with some more details for an optimal support.
There is maybe an error in the "snmpttconfs"? You have to define the traps in the "snmptt.conf" - pls. see the documentation at http://www.snmptt.org.
All other traps are "unknown" and will be shown under "Unknown Traps".
Try to put the Trapoid of the unknown trap in the snmptt.conf like this:
save the snmp.conf and restart the service/daemon.
regards,
cruxx
please provide the community with some more details for an optimal support.
There is maybe an error in the "snmpttconfs"? You have to define the traps in the "snmptt.conf" - pls. see the documentation at http://www.snmptt.org.
All other traps are "unknown" and will be shown under "Unknown Traps".
Try to put the Trapoid of the unknown trap in the snmptt.conf like this:
Code: Select all
EVENT event_name .1.3.6.1.4.x.x.x.x "category" severity
FORMAT $*
regards,
cruxx
-
- Posts: 8
- Joined: Mon Apr 12, 2010 1:30 pm
Re: Problem with CaMM
Hi,
Thank you for replay
When I enabled in snmptt.ini net_snmp_perl_enable I have these information:
Restarting SNMP trap translator: snmpttMIB search path: /root/.snmp/mibs:/usr/sh are/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/us r/share/mibs/netsnmp
Cannot find module (SNMPv2-SMI): At line 8 in /usr/share/mibs/netsnmp/NET-SNMP-M IB
Did not find 'enterprises' in module #-1 (/usr/share/mibs/netsnmp/NET-SNMP-MIB)
Unlinked OID in NET-SNMP-MIB: netSnmp ::= { enterprises 8072 }
Undefined identifier: enterprises near line 10 of /usr/share/mibs/netsnmp/NET-SN MP-MIB
Cannot find module (SNMP-FRAMEWORK-MIB): At line 9 in /usr/share/mibs/netsnmp/NE T-SNMP-AGENT-MIB
Cannot find module (SNMPv2-TC): At line 21 in /usr/share/mibs/netsnmp/NET-SNMP-A GENT-MIB
Did not find 'SnmpAdminString' in module #-1 (/usr/share/mibs/netsnmp/NET-SNMP-A GENT-MIB)
Did not find 'netSnmpObjects' in module NET-SNMP-MIB (/usr/share/mibs/netsnmp/NE T-SNMP-AGENT-MIB)
Did not find 'netSnmpModuleIDs' in module NET-SNMP-MIB (/usr/share/mibs/netsnmp/ NET-SNMP-AGENT-MIB)
Did not find 'netSnmpNotifications' in module NET-SNMP-MIB (/usr/share/mibs/nets nmp/NET-SNMP-AGENT-MIB)
Did not find 'netSnmpGroups' in module NET-SNMP-MIB (/usr/share/mibs/netsnmp/NET -SNMP-AGENT-MIB)
Did not find 'DisplayString' in module #-1 (/usr/share/mibs/netsnmp/NET-SNMP-AGE NT-MIB)
Did not find 'RowStatus' in module #-1 (/usr/share/mibs/netsnmp/NET-SNMP-AGENT-M IB)
Did not find 'TruthValue' in module #-1 (/usr/share/mibs/netsnmp/NET-SNMP-AGENT- MIB)
Unlinked OID in NET-SNMP-AGENT-MIB: nsAgentNotifyGroup ::= { netSnmpGroups 9 }
Undefined identifier: netSnmpGroups near line 545 of /usr/share/mibs/netsnmp/NET -SNMP-AGENT-MIB
Unlinked OID in NET-SNMP-AGENT-MIB: nsTransactionGroup ::= { netSnmpGroups 8 }
Undefined identifier: netSnmpGroups near line 536 of /usr/share/mibs/netsnmp/NET -SNMP-AGENT-MIB
Unlinked OID in NET-SNMP-AGENT-MIB: nsConfigGroups ::= { netSnmpGroups 7 }
Undefined identifier: netSnmpGroups near line 515 of /usr/share/mibs/netsnmp/NET -SNMP-AGENT-MIB
Unlinked OID in NET-SNMP-AGENT-MIB: nsCacheGroup ::= { netSnmpGroups 4 }
Undefined identifier: netSnmpGroups near line 505 of /usr/share/mibs/netsnmp/NET -SNMP-AGENT-MIB
Unlinked OID in NET-SNMP-AGENT-MIB: nsModuleGroup ::= { netSnmpGroups 2 }
Undefined identifier: netSnmpGroups near line 495 of /usr/share/mibs/netsnmp/NET -SNMP-AGENT-MIB
Unlinked OID in NET-SNMP-AGENT-MIB: netSnmpAgentMIB ::= { netSnmpModuleIDs 2 }
Undefined identifier: netSnmpModuleIDs near line 24 of /usr/share/mibs/netsnmp/N ET-SNMP-AGENT-MIB
Unlinked OID in NET-SNMP-AGENT-MIB: nsTransactions ::= { netSnmpObjects 8 }
Undefined identifier: netSnmpObjects near line 55 of /usr/share/mibs/netsnmp/NET -SNMP-AGENT-MIB
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutputFull ::= { nsExtendOutput 1Entry 2 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutput1Line ::= { nsExtendOutpu t1Entry 1 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutLine ::= { nsExtendOutput2En try 2 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendLineIndex ::= { nsExtendOutput2 Entry 1 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyStart ::= { netSnmpNotifications 1 }
Thank you for replay
When I enabled in snmptt.ini net_snmp_perl_enable I have these information:
Restarting SNMP trap translator: snmpttMIB search path: /root/.snmp/mibs:/usr/sh are/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/us r/share/mibs/netsnmp
Cannot find module (SNMPv2-SMI): At line 8 in /usr/share/mibs/netsnmp/NET-SNMP-M IB
Did not find 'enterprises' in module #-1 (/usr/share/mibs/netsnmp/NET-SNMP-MIB)
Unlinked OID in NET-SNMP-MIB: netSnmp ::= { enterprises 8072 }
Undefined identifier: enterprises near line 10 of /usr/share/mibs/netsnmp/NET-SN MP-MIB
Cannot find module (SNMP-FRAMEWORK-MIB): At line 9 in /usr/share/mibs/netsnmp/NE T-SNMP-AGENT-MIB
Cannot find module (SNMPv2-TC): At line 21 in /usr/share/mibs/netsnmp/NET-SNMP-A GENT-MIB
Did not find 'SnmpAdminString' in module #-1 (/usr/share/mibs/netsnmp/NET-SNMP-A GENT-MIB)
Did not find 'netSnmpObjects' in module NET-SNMP-MIB (/usr/share/mibs/netsnmp/NE T-SNMP-AGENT-MIB)
Did not find 'netSnmpModuleIDs' in module NET-SNMP-MIB (/usr/share/mibs/netsnmp/ NET-SNMP-AGENT-MIB)
Did not find 'netSnmpNotifications' in module NET-SNMP-MIB (/usr/share/mibs/nets nmp/NET-SNMP-AGENT-MIB)
Did not find 'netSnmpGroups' in module NET-SNMP-MIB (/usr/share/mibs/netsnmp/NET -SNMP-AGENT-MIB)
Did not find 'DisplayString' in module #-1 (/usr/share/mibs/netsnmp/NET-SNMP-AGE NT-MIB)
Did not find 'RowStatus' in module #-1 (/usr/share/mibs/netsnmp/NET-SNMP-AGENT-M IB)
Did not find 'TruthValue' in module #-1 (/usr/share/mibs/netsnmp/NET-SNMP-AGENT- MIB)
Unlinked OID in NET-SNMP-AGENT-MIB: nsAgentNotifyGroup ::= { netSnmpGroups 9 }
Undefined identifier: netSnmpGroups near line 545 of /usr/share/mibs/netsnmp/NET -SNMP-AGENT-MIB
Unlinked OID in NET-SNMP-AGENT-MIB: nsTransactionGroup ::= { netSnmpGroups 8 }
Undefined identifier: netSnmpGroups near line 536 of /usr/share/mibs/netsnmp/NET -SNMP-AGENT-MIB
Unlinked OID in NET-SNMP-AGENT-MIB: nsConfigGroups ::= { netSnmpGroups 7 }
Undefined identifier: netSnmpGroups near line 515 of /usr/share/mibs/netsnmp/NET -SNMP-AGENT-MIB
Unlinked OID in NET-SNMP-AGENT-MIB: nsCacheGroup ::= { netSnmpGroups 4 }
Undefined identifier: netSnmpGroups near line 505 of /usr/share/mibs/netsnmp/NET -SNMP-AGENT-MIB
Unlinked OID in NET-SNMP-AGENT-MIB: nsModuleGroup ::= { netSnmpGroups 2 }
Undefined identifier: netSnmpGroups near line 495 of /usr/share/mibs/netsnmp/NET -SNMP-AGENT-MIB
Unlinked OID in NET-SNMP-AGENT-MIB: netSnmpAgentMIB ::= { netSnmpModuleIDs 2 }
Undefined identifier: netSnmpModuleIDs near line 24 of /usr/share/mibs/netsnmp/N ET-SNMP-AGENT-MIB
Unlinked OID in NET-SNMP-AGENT-MIB: nsTransactions ::= { netSnmpObjects 8 }
Undefined identifier: netSnmpObjects near line 55 of /usr/share/mibs/netsnmp/NET -SNMP-AGENT-MIB
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutputFull ::= { nsExtendOutput 1Entry 2 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutput1Line ::= { nsExtendOutpu t1Entry 1 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutLine ::= { nsExtendOutput2En try 2 }
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendLineIndex ::= { nsExtendOutput2 Entry 1 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyStart ::= { netSnmpNotifications 1 }
Re: Problem with CaMM
ok.
these information are one thing, but the service/daemon is running and the traps are written to the database?
have you insert the trapoid from the unknown trap to the snmptt.conf?
have you installed all requirements for snmptt e.g. "Net-SNMP-Perl module".
Can you give us an overview of your Net-SNMP, SNMPTT configuration?
kind regards
cruxx
these information are one thing, but the service/daemon is running and the traps are written to the database?
have you insert the trapoid from the unknown trap to the snmptt.conf?
have you installed all requirements for snmptt e.g. "Net-SNMP-Perl module".
Can you give us an overview of your Net-SNMP, SNMPTT configuration?
kind regards
cruxx
-
- Posts: 8
- Joined: Mon Apr 12, 2010 1:30 pm
Re: Problem with CaMM
Thaknk you.
You are great.
You are great.
Re: Problem with CaMM
you are welcome. and the problem was the "Net-SNMP Perl module"?
regards,
cruxx
regards,
cruxx
-
- Posts: 8
- Joined: Mon Apr 12, 2010 1:30 pm
Re: Problem with CaMM
Hello,
I have another problem:)
I try configure SNMP v 3 (AuthPriv).
On switch I enable SNMP v 3. On Cacti in graph I see everything, but on SNMP traps in CAmm I don;t see trap from this switch.
My snmptrapd.conf is:
disableAuthorization no
traphandle default /usr/sbin/snmptthandler
My snmpd.conf is:
createUser snmpuser MD5 "password" DES "password"
authUser log,execute,net snmpuser
When in console I write
snmptrapd -f -Le -d
I see traps from switch.
Where is error?
I have another problem:)
I try configure SNMP v 3 (AuthPriv).
On switch I enable SNMP v 3. On Cacti in graph I see everything, but on SNMP traps in CAmm I don;t see trap from this switch.
My snmptrapd.conf is:
disableAuthorization no
traphandle default /usr/sbin/snmptthandler
My snmpd.conf is:
createUser snmpuser MD5 "password" DES "password"
authUser log,execute,net snmpuser
When in console I write
snmptrapd -f -Le -d
I see traps from switch.
Where is error?
Re: Problem with CaMM
"SNMP v3" and "SNMP Trap" are not the same.
at the one side you have to configure the SNMP (e.g. v1, v2c or v3) on a device (like switch, server, firewall, ...) and than you can pull these devices with a management tool -like Cacti- every 5 minutes.
Devices with SNMP functionality pushes a "snmp trap" to a destination (e.g. cacti host) when there is everthing wrong (e.g. many errors in a very short time on a switch port or a defined event is logged).
is there a possability to send a "test trap" from the switch UI?
See also under "Unknown traps" . For a better troubleshotting you can enable a debug level "2" in the "snmptt.ini" and
than you can look at the log files and look at the traps.
regards,
cruxx
at the one side you have to configure the SNMP (e.g. v1, v2c or v3) on a device (like switch, server, firewall, ...) and than you can pull these devices with a management tool -like Cacti- every 5 minutes.
Devices with SNMP functionality pushes a "snmp trap" to a destination (e.g. cacti host) when there is everthing wrong (e.g. many errors in a very short time on a switch port or a defined event is logged).
is there a possability to send a "test trap" from the switch UI?
See also under "Unknown traps" . For a better troubleshotting you can enable a debug level "2" in the "snmptt.ini" and
than you can look at the log files and look at the traps.
regards,
cruxx
Re: Problem with CaMM
i have same error message :
Hello,
debian5:/maycem# snmpget -v2c -c public 192.168.5.1 NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
Expected LAST-UPDATED (SMI): At line 35 in /usr/share/mibs/netsnmp/SNMPv2-SMI.my
Bad operator (TEXTUAL-CONVENTION): At line 19 in /usr/share/mibs/netsnmp/SNMPv2-TC.my
Did not find 'RowStatus' in module SNMPv2-TC (/usr/share/mibs/netsnmp/NET-SNMP-EXAMPLES-MIB.my)
Did not find 'StorageType' in module SNMPv2-TC (/usr/share/mibs/netsnmp/NET-SNMP-EXAMPLES-MIB.my)
NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 = INTEGER: 12365
please help me to correct .
Best Regards .
AMOR Maycem
Hello,
debian5:/maycem# snmpget -v2c -c public 192.168.5.1 NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0
Expected LAST-UPDATED (SMI): At line 35 in /usr/share/mibs/netsnmp/SNMPv2-SMI.my
Bad operator (TEXTUAL-CONVENTION): At line 19 in /usr/share/mibs/netsnmp/SNMPv2-TC.my
Did not find 'RowStatus' in module SNMPv2-TC (/usr/share/mibs/netsnmp/NET-SNMP-EXAMPLES-MIB.my)
Did not find 'StorageType' in module SNMPv2-TC (/usr/share/mibs/netsnmp/NET-SNMP-EXAMPLES-MIB.my)
NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 = INTEGER: 12365
please help me to correct .
Best Regards .
AMOR Maycem
Who is online
Users browsing this forum: No registered users and 1 guest