From: Buchan M. <bg...@st...> - 2011-05-17 07:06:51
|
On Tuesday, 17 May 2011 08:16:22 Colin Coe wrote: > Hi Wim > > On Tue, May 17, 2011 at 2:02 PM, W.J.M. Nelis <Wim...@nl...> wrote: > > Hello Colin, > > > >> Hi all > >> > >> I'm attempting to monitor a few UPS. The UPS models I need to monitor > >> include: - APC Smart-UPS 1000 RM > >> - Powerware 9390 > >> - Powerware 9130 > >> - Powerware 9135 > >> - Powerware 9125 > >> - PowerShield PSCE10000 > >> > >> I can get data up for the Smart UPS but it is not being automatically > >> detected. I have the following as the spec file > >> cat /usr/share/devmon/templates/apc-sups-1000rm/specs > >> vendor : apc > >> model : Smart-UPS 1000 RM > >> snmpver : 1 > >> sysdesc : Smart-UPS 1000 RM Note that the template name ('apc-sups-1000rm') must be composed of <vendor>- <model>. So, your model should be 'sups-1000rm', otherwise your template won't be recognised. Please run devmon with some verbosity, it will list all the templates it loads, and log errors about your template ... > >> > >> I get this from > >> snmpwalk -v1 -c public ups 1.3.6.1.4.1.318.1.1.1.1.1.1.0 > >> PowerNet-MIB::upsBasicIdentModel.0 = STRING: "Smart-UPS 1000 RM" > > > > What does `snmpget -v1 -c public ups sysDescr.0` returns? The result of > > this snmpget is used by Devmon to select the template to use: it > > searches the templates for a matching 'sysdesc' in file 'specs'. > > SNMPv2-MIB::sysDescr.0 = STRING: APC Web/SNMP Management Card > (MB:v3.8.6 PF:v5.1.3 PN:apc_hw05_aos_513.bin AF1:v5.1.3 > AN1:apc_hw05_sumx_513.bin MN:AP9630 HR:05 SN: ZA1031030798 > MD:07/31/2010) (Embedded PowerNet SNMP Agent SW v2.2 compatible) > > It had only just clicked that the sysdesc == sysDescr.0 from snmpwalk. > > > Alternatively, you could specify the model in the Xymon hosts.cfg > > (Hobbit: bb-hosts) the model, thus bypassing the automatic model > > detection. > > > > Regards, > > Wim Nelis. > > The APC template for the Smart-UPS 1000 RM works OK. > > What I now see is the Powerware 9390 and 9130 getting matched against > ups/standard because of the string 'UPS' in sydDesc.0. These nodes > report: > SNMPv2-MIB::sysDescr.0 = STRING: ConnectUPS Web/SNMP Card V4.30 > > I see that there is a pware-xups template with a sysdesc of > 'ConnectUPS'. How do I make Xymon use pware-xups instead of > ups/standard? Using the model(vendor;model) option, as described in the USING file. Regards, Buchan |