From: Asif I. <va...@gm...> - 2008-08-04 16:13:02
|
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] -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu |
From: Francisco C. L. <fca...@cf...> - 2008-08-04 17:05:16
|
which is the output for: snmpwalk -v1 -c public dns-server-01:163 system 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] > > > |
From: Asif I. <va...@gm...> - 2008-08-04 17:23:00
|
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 > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu |
From: Francisco C. L. <fca...@cf...> - 2008-08-04 18:29:09
|
you need to change snmpwalk for snmpget. try again: snmpget -v2c -c public dns-server-01:163 system 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 >> >> > > > > |
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 |
From: Francisco C. L. <fca...@cf...> - 2008-08-04 20:21:57
|
you may be try this: on your bb-host dns-server-01:163:DEVMON:cid(public),model(cisco;2600) cisco;2600 should be change for the brand/model you wish, and these MUST be on the specs of the templeate you will use. fcarmona@larissa:~/devmon-0.3.0$ cat templates/cisco-2600/specs vendor : cisco model : 2600 snmpver : 2 sysdesc : C2600 fcarmona@larissa:~/devmon-0.3.0$ Asif Iqbal wrote: > 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 >> >> >> > > > > |
From: Asif I. <va...@gm...> - 2008-08-05 15:34:41
|
On Mon, Aug 4, 2008 at 4:18 PM, Francisco Carmona Leon <fca...@cf...> wrote: > you may be try this: > > on your bb-host > > dns-server-01:163:DEVMON:cid(public),model(cisco;2600) > > cisco;2600 should be change for the brand/model you wish, and these MUST be > on the specs of the templeate you will use. So you are saying I can use the sysDecr of another device to setup my freebsd server to be monitored by devmon even though the snmpget does not get any sysDescr ? I did not know you can do that. Did you find out from devmon source code or is there a man page for it? > > fcarmona@larissa:~/devmon-0.3.0$ cat templates/cisco-2600/specs > vendor : cisco > model : 2600 > snmpver : 2 > sysdesc : C2600 > fcarmona@larissa:~/devmon-0.3.0$ > > > Asif Iqbal wrote: > > 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 > > > > > > > ------------------------------------------------------------------------- > 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 |
From: Robert H. <rob...@gm...> - 2008-08-04 17:17:48
|
I would suggest using hobbit/big brother client instead of snmp. Devmon works great for networking gear, but not quite as powerful as a hobbit client on servers. Just my $0.02 On Mon, Aug 4, 2008 at 9:12 AM, Asif Iqbal <va...@gm...> 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] > > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > > ------------------------------------------------------------------------- > 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 > |
From: Asif I. <va...@gm...> - 2008-08-04 17:23:44
|
On Mon, Aug 4, 2008 at 1:17 PM, Robert Holden <rob...@gm...> wrote: > I would suggest using hobbit/big brother client instead of snmp. Devmon > works great for networking gear, but not quite as powerful as a hobbit > client on servers. That is what I do typically. But for these servers I only have snmp access and that won't change > > Just my $0.02 > > On Mon, Aug 4, 2008 at 9:12 AM, Asif Iqbal <va...@gm...> 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] >> >> >> -- >> Asif Iqbal >> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu >> >> ------------------------------------------------------------------------- >> 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 |
From: Francisco C. L. <fca...@cf...> - 2008-08-05 16:09:37
|
In the docs directory there is two files: USING (just text) using.html model() : Set the vendor and model of this device, instead of having to rely on autodetection for it (SNMP cid will still be autodetected, however) Asif Iqbal wrote: > On Mon, Aug 4, 2008 at 4:18 PM, Francisco Carmona Leon > <fca...@cf...> wrote: > >> you may be try this: >> >> on your bb-host >> >> dns-server-01:163:DEVMON:cid(public),model(cisco;2600) >> >> cisco;2600 should be change for the brand/model you wish, and these MUST be >> on the specs of the templeate you will use. >> > > So you are saying I can use the sysDecr of another device to setup my > freebsd server to be monitored by devmon > even though the snmpget does not get any sysDescr ? > > I did not know you can do that. Did you find out from devmon source > code or is there a man page for it? > > > >> fcarmona@larissa:~/devmon-0.3.0$ cat templates/cisco-2600/specs >> vendor : cisco >> model : 2600 >> snmpver : 2 >> sysdesc : C2600 >> fcarmona@larissa:~/devmon-0.3.0$ >> >> >> Asif Iqbal wrote: >> >> 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 >> >> >> >> >> >> >> ------------------------------------------------------------------------- >> 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 >> >> >> > > > > |
From: Asif I. <va...@gm...> - 2008-08-05 17:56:20
|
On Tue, Aug 5, 2008 at 12:06 PM, Francisco Carmona Leon <fca...@cf...> wrote: > In the docs directory there is two files: > > USING (just text) > using.html > > model() : Set the vendor and model of this device, instead of > having to rely on autodetection for it (SNMP cid > will still be autodetected, however) I followed your suggestion and created a template called dns and copied the specs file from cisco-2600 folder Then I ran `/usr/local/devmon/devmon --readbbhosts -vvv' and I got snmpget error for sysDescr as expected. Should I move forward? (sanitized) [08-08-05@13:46:40] Querying new hosts /w custom cids using snmp v2 [08-08-05@13:46:40] Querying new hosts using cid 'mycommunity' and snmp v2 [08-08-05@13:46:50] ERROR: snmpget dns-server-01 (no response received) [08-08-05@13:46:51] Querying new hosts /w custom cids using snmp v1 [08-08-05@13:46:51] ERROR: snmpget dns-server-01 (Received SNMP response with error code) [08-08-05@13:46:51] Querying new hosts using cid 'mycommunity' and snmp v1 [08-08-05@13:47:01] ERROR: snmpget dns-server-01 (no response received) [08-08-05@13:47:01] ERROR: snmpget dns-server-01 (Received SNMP response with error code) [08-08-05@13:47:01] Could not query device: dns-server-01.inet.qwest.net This is how my bb-hosts entry look like as suggested by you as well (sanitized) 2.18.2.1 dns-server-01 # dns DEVMON:cid(mycommunity),port(163),model(cisco;2600) I still have not populated the template with the valid oids > > Asif Iqbal wrote: > > On Mon, Aug 4, 2008 at 4:18 PM, Francisco Carmona Leon > <fca...@cf...> wrote: > > > you may be try this: > > on your bb-host > > dns-server-01:163:DEVMON:cid(public),model(cisco;2600) > > cisco;2600 should be change for the brand/model you wish, and these MUST be > on the specs of the templeate you will use. > > > So you are saying I can use the sysDecr of another device to setup my > freebsd server to be monitored by devmon > even though the snmpget does not get any sysDescr ? > > I did not know you can do that. Did you find out from devmon source > code or is there a man page for it? > > > > > fcarmona@larissa:~/devmon-0.3.0$ cat templates/cisco-2600/specs > vendor : cisco > model : 2600 > snmpver : 2 > sysdesc : C2600 > fcarmona@larissa:~/devmon-0.3.0$ > > > Asif Iqbal wrote: > > 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 > > > > > > > ------------------------------------------------------------------------- > 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 |
From: <lor...@pn...> - 2008-08-11 12:50:40
|
That's an odd one. We have devmon 0.3.0 running on an old RedHat 7.3 box which has been up and running for over one year before this Sunday reboot. Before rebooting the box, devmon went purple two or three times a month. After the reboot, it crashes every 15-20 minutes in standard mode. If I run it in debug mode, it doesn't crash (at least for the one hour I let it run) but it doesn't update BB either, which goes purple. Can anyone please advice/suggest how to troubleshoot this ? Cheers Loris PFPC is now PNC Global Investment Servicing and our email address extensions have changed to @pncgis.ie. |
From: G. F. <ga...@fr...> - 2008-08-12 08:47:20
|
Hi Loris, Le Mon, 11 Aug 2008 13:50:28 +0100, lor...@pn... écrivait: > We have devmon 0.3.0 running on an old RedHat 7.3 box which has been up > and running for over one year before this Sunday reboot. > > Before rebooting the box, devmon went purple two or three times a month. > After the reboot, it crashes every 15-20 minutes in standard mode. > > If I run it in debug mode, it doesn't crash (at least for the one hour I > let it run) but it doesn't update BB either, which goes purple. I am chasing this one as well but no luck so far. And the process is quite slow, last time it took 9 days before it stopped... > Can anyone please advice/suggest how to troubleshoot this ? Here are some instructions: http://sourceforge.net/mailarchive/message.php?msg_name=20080630100248.6cdde211.gaetan%40frenoy.net On step #4, you may want to add "-L" option to screen to write output to a file (easier for post-mortem analysis). Good luck. -- Gaëtan Frenoy |