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 >> >> >> > > > > |