From: Asif I. <va...@gm...> - 2008-08-04 18:38:13
|
On Mon, Aug 4, 2008 at 2:25 PM, Francisco Carmona Leon <fca...@cf...> wrote: > you need to change snmpwalk for snmpget. > > try again: > > snmpget -v2c -c public dns-server-01:163 system # snmpget -v2c -c public dns-server-01:163 system SNMPv2-MIB::system = No Such Object available on this agent at this OID # snmpget -v1 -c public dns-server-01:163 system Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: SNMPv2-MIB::system (hobbit)@hobbit:~$ No value > > Asif Iqbal wrote: > > On Mon, Aug 4, 2008 at 1:01 PM, Francisco Carmona Leon > <fca...@cf...> wrote: > > > which is the output for: > > snmpwalk -v1 -c public dns-server-01:163 system > > > (iqbala)@hobbit:~$ snmpwalk -v2c -c public dns-server-01:163 system > SNMPv2-MIB::system = No Such Object available on this agent at this OID > (iqbala)@hobbit:~$ snmpwalk -v1 -c public dns-server-01:163 system > (iqbala)@hobbit:~$ > > So no output for either version > > > > Asif Iqbal wrote: > > > How do I monitor a server, FreeBSD 7.0, which does not give sysDescr.0 ? > > > # snmpget -v1 -c public dns-server-01:163 sysDescr.0 > Error in packet > Reason: (noSuchName) There is no such variable name in this MIB. > Failed object: SNMPv2-MIB::sysDescr.0 > > #snmpget -v2c -c ruPV91gs atl-dns1-01:163 sysDescr.0 > SNMPv2-MIB::sysDescr.0 = No Such Object available on this agent at this OID > > > However snmpwalk version 1 and 2c gives tons of good output.. both > version gives same output > > # snmpwalk -v1 -c public dns-server-01:163 .1.3.6.1.4.1 > [snip] > UCD-SNMP-MIB::ucdavis.190.101.1 = STRING: "Hostname: dns-server-01" > UCD-SNMP-MIB::ucdavis.190.101.2 = STRING: "Operating System: FreeBSD > 7.0-RELEASE" > UCD-SNMP-MIB::ucdavis.190.101.3 = STRING: "Manufacturer: Sun Microsystems" > UCD-SNMP-MIB::ucdavis.190.101.4 = STRING: "Product Name: Sun Fire(TM) > X2100 " > UCD-SNMP-MIB::ucdavis.190.101.5 = STRING: "System Serial Number: 07125U4014" > UCD-SNMP-MIB::ucdavis.190.101.6 = STRING: "MotherBoard Serial Number: > M43J-P102XX" > UCD-SNMP-MIB::ucdavis.190.101.7 = STRING: "CPU: 2 Dual Core AMD > Opteron(tm) Processor 180 (2412.37-MHz K8-class CPU)" > [/snip] > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu |