Page 3 of 3
Re: check_hpjd shows warning unnesessarily
Posted: Tue Feb 09, 2016 5:18 pm
by Box293
Adam wrote:rkennedy do you have a default copy of snmp.conf? I suspect I have it set up wrong.
This is the worlds most unsecure snmp.conf however it should "just work"
Re: check_hpjd shows warning unnesessarily
Posted: Wed Feb 10, 2016 12:17 pm
by Adam
I changed my snmp.conf and tried snmpwalk again... Notice the warnings about Unkown tokens. This is what is making think I have a problem with SNMP.
Code: Select all
[root@localhost adam]# snmpwalk -v 2c -c public -O e 127.0.0.1
No log handling enabled - turning on stderr logging
[color=#FF0000]/etc/snmp/snmp.conf: line 1: Warning: Unknown token: rocommunity.
/etc/snmp/snmp.conf: line 2: Warning: Unknown token: syslocation.
/etc/snmp/snmp.conf: line 3: Warning: Unknown token: syscontact.[/color]
SNMPv2-MIB::sysDescr.0 = STRING: Linux localhost.localdomain 2.6.32-573.12.1.el6.centos.plus.i686 #1 SMP Wed Dec 16 14:30:42 UTC 2015 i686
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (20723) 0:03:27.23
SNMPv2-MIB::sysContact.0 = STRING: root@localhost
SNMPv2-MIB::sysName.0 = STRING: localhost.localdomain
SNMPv2-MIB::sysLocation.0 = STRING: Unknown
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (19) 0:00:00.19
SNMPv2-MIB::sysORID.1 = OID: SNMP-MPD-MIB::snmpMPDMIBObjects.3.1.1
SNMPv2-MIB::sysORID.2 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORID.3 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.4 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.5 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.6 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.7 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.8 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.3 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.6 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.8 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (19) 0:00:00.19
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (19) 0:00:00.19
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (19) 0:00:00.19
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (19) 0:00:00.19
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (19) 0:00:00.19
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (19) 0:00:00.19
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (19) 0:00:00.19
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (19) 0:00:00.19
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (51692542) 5 days, 23:35:25.42
HOST-RESOURCES-MIB::hrSystemUptime.0 = No more variables left in this MIB View (It is past the end of the MIB tree)
[root@localhost adam]#
Re: check_hpjd shows warning unnesessarily
Posted: Wed Feb 10, 2016 5:31 pm
by Box293
My apologies, I posted a config for snmpd.conf which is for a linux server that listens for snmp requests.
Honestly I've not had to use a snmp.conf file before, I looked at a couple of my test machines and no such file exists.
What happens if you stop using the file?
Re: check_hpjd shows warning unnesessarily
Posted: Mon Feb 22, 2016 10:38 am
by Adam
So I removed the hpjd checks for a few days, the system got a few updates, and when I finally came back to this issue I found that everything is now working fine. Thank you everyone for your assistance.
Re: check_hpjd shows warning unnesessarily
Posted: Mon Feb 22, 2016 11:08 am
by hsmith
Would you like us to close this thread since the issue seems to be resolved?
Re: check_hpjd shows warning unnesessarily
Posted: Wed Feb 24, 2016 11:52 am
by Adam
Yes, we can close this one. Thanks.