From: Joshua K. <jos...@tr...> - 2007-09-24 16:04:05
|
I verified in the specs file that there is no spaces after any lines. I ran a debug and it looks like it sees the vendor but maybe not the model? [07-09-24@12:00:38] Saw 3 vendors, 8 models, 8 sysdescs & 24 templates and in my templates folder I have: [hobbit@gsonc-spg-ops-1 templates]$ ls -ltr total 48 drwxr-xr-x 9 hobbit hobbit 4096 Mar 6 2007 cisco-2600 drwxr-xr-x 10 hobbit hobbit 4096 Mar 6 2007 cisco-2950 drwxr-xr-x 10 hobbit hobbit 4096 Mar 6 2007 cisco-2970 drwxr-xr-x 10 hobbit hobbit 4096 Mar 6 2007 cisco-3550 -rw-r--r-- 1 hobbit hobbit 285 Mar 6 2007 REQUIREMENTS -rw-r--r-- 1 hobbit hobbit 308 Mar 30 10:57 README drwxr-xr-x 10 hobbit hobbit 4096 Sep 4 00:26 cisco-3560 drwxr-xr-x 11 hobbit hobbit 4096 Sep 21 16:42 cisco-4948 drwxr-xr-x 11 hobbit hobbit 4096 Sep 21 16:43 cisco-4506 drwxrwxr-x 2 hobbit hobbit 4096 Sep 24 11:56 valere-xc2000 drwxrwxr-x 2 hobbit hobbit 4096 Sep 24 11:56 liebert-nfinity drwxr-xr-x 11 hobbit hobbit 4096 Sep 24 11:57 cisco-6509 On Sep 24, 2007, at 11:42 AM, Trent Melcher wrote: > On Sun, 2007-09-23 at 23:23 -0400, Joshua Krause wrote: >> I have started to build a template for a vendor named Valere, they >> have dc power equipment. I created a folder called "valere-xc2000" >> and i have a "specs" file that contains this: >> >> vendor : valere >> model : xc2000 >> snmpver : 1 >> sysdesc : Sys > > Actually check and make sure you dont have a space or tab after the > vendor. > > Trent > >> >> Now I know the "sysdesc" looks odd but that is all that is listed >> when >> i do an snmpwalk: >> >> [hobbit@gsonc-spg-ops-1 templates]$ snmpwalk -v 1 -c public gsonc- >> spg- >> valere-1 sysdesc >> SNMPv2-MIB::sysDescr.0 = STRING: Sys Description >> >> Now if I was able to use the "sysname" instead of "sysdesc" I could >> be >> more descriptive: >> >> [hobbit@gsonc-spg-ops-1 templates]$ snmpwalk -v 1 -c public gsonc- >> spg- >> valere-1 sysname >> SNMPv2-MIB::sysName.0 = STRING: Valere: Modular Power Plant >> >> When I run "devmon --readbbhosts -vvv" i get: >> [hobbit@gsonc-spg-ops-1 configs]$ /opt/devmon/devmon --readbbhosts - >> vvv >> [07-09-23@23:15:06] SNMP querying all hosts in bb-hosts file, please >> wait... >> [07-09-23@23:15:06] Unknown vendor in model() option for gsonc-spg- >> valere-1 >> [07-09-23@23:15:06] Querying pre-existing hosts >> >> >> Now I am unable to let devmon do an auto discovery on it. I am >> putting this in my bb-hosts file: >> x.x.x.x gsonc-spg-valere-1 # badconn:1:1:5 >> DEVMON:model(valere;xc2000) >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Devmon-support mailing list >> Dev...@li... >> https://lists.sourceforge.net/lists/listinfo/devmon-support > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support |