From: Johann E. <Joh...@te...> - 2008-06-13 08:09:04
|
Either you need to create another template with a specs file that matches your sysDescr string. Or Don't let Devmon automatically detect the device type and use the DEVMON:model(x,y) tag in the bb-hosts file. This way you can use one template for different UPS'es which using the same MIB. All DEVMON tags are in the documentation. -Johann ________________________________ From: dev...@li... [mailto:dev...@li...] On Behalf Of Benoit list Sent: Donnerstag, 12. Juni 2008 17:23 To: dev...@li... Subject: Re: [Devmon] Search Template MG-SNMP-UPS power supply Yeahh, I have several "Comet Extreme 12 kVA" and "Galaxy PW On Line" based on the same Mib "MGE" I find SysDesc dépend of search in devmon. I change "Galaxy PW Single", by "Galaxy PW On Line", and work very well but I would add other uninterruptible power supply (used same mib) My hosts uninterruptible power supply : I try it : hobbit@server$ cat templates/mge-ups/specs ------------------------------------------------ vendor : Galaxy PW Single model : UNITPARA snmpver : 1 sysdesc : Galaxy PW Single sysdesc : Comet Extreme 12 kVA ------------------------------------------------ or ------------------------------------------------ vendor : Galaxy PW Single model : UNITPARA snmpver : 1 sysdesc : Galaxy PW Single,Comet Extreme 12 kVA ------------------------------------------------ But without success :( root@server# snmpget -v 1 -c public power1 sysDescr.0 SNMPv2-MIB::sysDescr.0 = STRING: Galaxy PW On Line root@serverr# snmpget -v 1 -c public power2 sysDescr.0 SNMPv2-MIB::sysDescr.0 = STRING: Comet Extreme 12 kVA ------------------------------------------------------------------------------------------------------ hobbit@server$./devmon --readbbhosts -vvvvvvvv --debug [08-06-12@17:08:59] omg_0101 sysdesc = ::: Galaxy PW On Line ::: [08-06-12@17:08:59] Discovered omg_0101 as a Galaxy PW Single UNITPARA [08-06-12@17:09:09] ERROR: snmpget omg_cor01 (no response received) [08-06-12@17:09:09] omg_cor01 sysdesc = ::: UNDEFINED ::: But if I invers "sysdesc : Galaxy PW On Line" by "sysdesc : Comet Extreme 12 kVA", My powered "Comet Extreme 12KVA" work very weel and doesn't purple I must create a other template ??? Thank by advance guys ---------------------------------------------------------- 2008/6/12 Johann Eggers <Joh...@te...>: This is the content of "my" specs file: vendor : Galaxy PW Single model : UNITPARA snmpver : 1 sysdesc : Galaxy PW Single ... and it works ... -Johann ________________________________ From: dev...@li... [mailto:dev...@li...] On Behalf Of Benoit list Sent: Donnerstag, 12. Juni 2008 16:54 To: dev...@li... Subject: Re: [Devmon] Search Template MG-SNMP-UPS power supply Hum hum ... hobbit@server:/templates/mge-ups$ cat specs ------------------------------------------------ vendor : Galaxy PW Single model : UNITPARA snmpver : 1 sysdesc : Galaxy PW Single sysdesc : Galaxy PW On Line ------------------------------------------------ Galaxy PW Single = OK (first) Galaxy PW On Line = KO purples (second) How to monitor two different equipments , for the same MIB template ??? Thank by advance ! +++++++++++++++ 2008/6/12 Benoit list <mai...@gm...>: Thank you very much Johann Your template work very well !!! :) 2008/6/12 Johann Eggers <Joh...@te...>: Hi, attached is the template I've created for this kind of UPS. Use without warranty and on your own risk... - Johann ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support -- <mailinglist.benoit - at - gmail!com> |