From: Whilding, C. <Cra...@me...> - 2006-03-06 14:47:06
|
Oops, hadn't noticed the new version, have replaced the files and its working fine now cheers. Just power, our cards don't have env abilities (I'm currently monitoring the Battery temp as a poor mans alternative).=20 Ah thanks, ill use that switch to avoid having to put the dhcp test under Windows PC defaults. The exceptions file will help me get around a problem I have with disabled ranges warning as they have no free addresses. Im currently sorting my NetApp quota and vol templates and was wondering how I can display a number to 2dp for example. Thanks for the excellent work. Craig=20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Schwimmer, Eric E *HS Sent: 06 March 2006 14:29 To: dev...@li... Subject: RE: [Devmon] Starting problem Regarding the 'ioctl' error; are you using the latest version of Devmon? Specifically, line 1964 of modules/dm_config.pm should read: if(defined($pid =3D fork)) { as opposed to: if(my $pid =3D fork) { As to the power templates; the 9609 templates work on the APC=20 9617 card? Both power and env? If so, I'll copy them over=20 (and thanks for letting me know :) And autodiscovery of devices depends on their contents of=20 the SNMP SysDescr.0 string; which is matched against the=20 contents of the 'sysdesc' field in the model's specs file. You can override autodetection, however, by using the=20 'model' tag in the bb-hosts file; please see the USING document for further info (if it isnt in there, please=20 get the latest version of devmon). -Eric > -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Whilding, Craig > Sent: Monday, March 06, 2006 8:24 AM > To: dev...@li... > Subject: [Devmon] Starting problem >=20 > Excellent hobbit enhancement which will get rid of quite a=20 > few Perl scripts when I've finished writing all the templates. >=20 > =20 >=20 > I have been running it as a foreground process with the -f=20 > switch but without this I am also getting "Can't fork:=20 > Inappropriate ioctl for device" Forking to background process=20 > *****". This is on RHEL3 again. >=20 > =20 >=20 > For APC UPS's you may want to copy the power stuff over to a=20 > model 9617 as this is what all my management card equipped=20 > UPS's show as so it might be a popular one (?). They are 3000=20 > and 5000 models.=20 >=20 > =20 >=20 > A problem I now have though is how devices are discovered as=20 > a certain type. I have a script that monitors free dhcp=20 > addresses on Windows boxes. If it just looks up model there=20 > Is nothing special about this box. Im not sure how I can get=20 > around this but I would need to put an exception in for all=20 > other windows boxes I monitor so it doesn't try to show dhcp=20 > free addresses for them. >=20 > =20 >=20 > Keep up the good work though :-) >=20 > =20 >=20 > Craig Whilding >=20 >=20 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support |