From: Schwimmer, E. E *H. <EE...@hs...> - 2006-03-06 14:31:07
|
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 |