From: Schwimmer, E. E *H. <EE...@hs...> - 2006-03-07 15:43:30
|
Yep. I gave it a quick once-over and everything looked okay. I'll have to throw some more debug code into Devmon and let you run it and see what we can find out. -Eric > -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Whilding, Craig > Sent: Tuesday, March 07, 2006 10:36 AM > To: dev...@li... > Subject: RE: [Devmon] Starting problem >=20 > Did you receive that tar ok after? >=20 > Craig >=20 > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of > Schwimmer, Eric E *HS > Sent: 06 March 2006 17:29 > To: dev...@li... > Subject: RE: [Devmon] Starting problem >=20 >=20 > Could be a code bug; could you tarball them and send them to me? >=20 > ees2y (at) hscmail.mcc.virginia.edu >=20 > Thanks! >=20 > -Eric >=20 > > -----Original Message----- > > From: dev...@li...=20 > > [mailto:dev...@li...] On Behalf=20 > > Of Whilding, Craig > > Sent: Monday, March 06, 2006 12:20 PM > > To: dev...@li... > > Subject: RE: [Devmon] Starting problem > >=20 > > Yes I will. Though it may take a while if I cant see what's=20 > > causing this > > threshold problem! Normal ones work its just the ones I'm=20 > > writing in the > > tables. Will try again tomorrow. > >=20 > > Craig > >=20 > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf Of Dan > > Vande More > > Sent: 06 March 2006 16:27 > > To: dev...@li... > > Subject: Re: [Devmon] Starting problem > >=20 > > Are you willing to share that netapp stuff when you're done? > >=20 > > Thanks > >=20 > > Dan > >=20 > > On 3/6/06, Whilding, Craig <Cra...@me...> wrote: > > > Sounds like a good idea. > > > > > > Currently confused as ive copied the cisco if_col template=20 > > for NetApp > > > quotas, its showing fine but my thresholds don't appear=20 > to be picked > > up. > > > > > > > > > qrPercentUsed is a percent taken from bytesused/bytestotalx100 > > > > > > Threshold: > > > qrPercentUsed : red : 80 : WARNING > > > > > > Message: > > > TABLE: > > >=20 > >=20 > [otherbits]|{qrPercentUsed.color}{qrPercentUsed}{qrPercentUsed.errors} > > > > > > One of the quotas is at 82.59 % and isn't showing up. > > > > > > I don't know why it's not working the same as the network=20 > equipment, > > > weird! > > > > > > Craig > > > > > > -----Original Message----- > > > From: dev...@li... > > > [mailto:dev...@li...] On Behalf Of > > > Schwimmer, Eric E *HS > > > Sent: 06 March 2006 15:14 > > > To: dev...@li... > > > Subject: RE: [Devmon] Starting problem > > > > > > > > > Well, right now the results of any math calculations (via > > > DELTA or MATH transforms) done by Devmon are rounded to two > > > decimal places. I might add a 'precision' tag or something > > > similar to either or both of these operations to allow you to > > > get more or less detail as needed. Right now, if you have a > > > snmp alias that has excessive numbers after the decimal place, > > > you can lop them off by doing a MATH transform on the alias. > > > So, if you have an alias {tooManyNumbers} with a value of > > > 11.324125, this transform: > > > > > > {lessNumbers} : MATH : {tooManyNumbers} > > > > > > will round it down to 11.32 and store it in the "lessNumbers" > > > alias. > > > > > > Actually, I just had a thought; what about making the MATH > > > and DELTA aliases not round at all, and then added a separate > > > ROUND transform or somesuch that would allow people to round > > > their values to whatever they liked? That would probably be > > > the easiest way of implementing a round transform, but it > > > would also mean that all current templates would have to be > > > updated, as their rounding would go away. > > > > > > -Eric Schwimmer > > > Network Engineer > > > UVA HSCS Network Engineering > > > > > > > -----Original Message----- > > > > From: dev...@li... > > > > [mailto:dev...@li...] On Behalf > > > > Of Whilding, Craig > > > > Sent: Monday, March 06, 2006 9:47 AM > > > > To: dev...@li... > > > > Subject: RE: [Devmon] Starting problem > > > > > > > > Oops, hadn't noticed the new version, have replaced the=20 > 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). > > > > > > > > Ah thanks, ill use that switch to avoid having to put the=20 > > 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 > > > > > > > > -----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 > > > > 9617 card? Both power and env? If so, I'll copy them over > > > > (and thanks for letting me know :) > > > > > > > > And autodiscovery of devices depends on their contents of > > > > the SNMP SysDescr.0 string; which is matched against the > > > > contents of the 'sysdesc' field in the model's specs file. > > > > You can override autodetection, however, by using the > > > > 'model' tag in the bb-hosts file; please see the USING > > > > document for further info (if it isnt in there, please > > > > get the latest version of devmon). > > > > > > > > -Eric > > > > > > > > > -----Original Message----- > > > > > From: dev...@li... > > > > > [mailto:dev...@li...] On Behalf > > > > > Of Whilding, Craig > > > > > Sent: Monday, March 06, 2006 8:24 AM > > > > > To: dev...@li... > > > > > Subject: [Devmon] Starting problem > > > > > > > > > > Excellent hobbit enhancement which will get rid of quite a > > > > > few Perl scripts when I've finished writing all the templates. > > > > > > > > > > > > > > > > > > > > I have been running it as a foreground process with the -f > > > > > switch but without this I am also getting "Can't fork: > > > > > Inappropriate ioctl for device" Forking to background process > > > > > *****". This is on RHEL3 again. > > > > > > > > > > > > > > > > > > > > For APC UPS's you may want to copy the power stuff over to a > > > > > model 9617 as this is what all my management card equipped > > > > > UPS's show as so it might be a popular one (?). They are 3000 > > > > > and 5000 models. > > > > > > > > > > > > > > > > > > > > A problem I now have though is how devices are discovered as > > > > > a certain type. I have a script that monitors free dhcp > > > > > addresses on Windows boxes. If it just looks up model there > > > > > Is nothing special about this box. Im not sure how I can get > > > > > around this but I would need to put an exception in for all > > > > > other windows boxes I monitor so it doesn't try to show dhcp > > > > > free addresses for them. > > > > > > > > > > > > > > > > > > > > Keep up the good work though :-) > > > > > > > > > > > > > > > > > > > > Craig Whilding > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by xPML, a=20 > groundbreaking scripting > > > > language > > > > that extends applications into web and mobile media.=20 > > 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 > > > > > > > > > > > > ------------------------------------------------------- > > > > 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 > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > > language > > > that extends applications into web and mobile media.=20 > 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 > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > > that extends applications into web and mobile media.=20 > Attend the live > > webcast > > > and join the prime developer group breaking into this new coding > > territory! > > > = http://sel.as-us.falkag.net/sel?cmdlnk&kid=110944&bid$1720&dat=121642 > > > _______________________________________________ > > > Devmon-support mailing list > > > Dev...@li... > > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > > > >=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 > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking=20 > > scripting language > > that extends applications into web and mobile media. Attend=20 > > the live webcast > > and join the prime developer group breaking into this new=20 > > 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 > >=20 >=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 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking=20 > scripting language > that extends applications into web and mobile media. Attend=20 > the live webcast > and join the prime developer group breaking into this new=20 > 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 >=20 |