From: Ton V. <to...@ma...> - 2004-08-18 19:51:49
|
Committed in CVS. Thanks On 16 Jun 2004, at 15:28, Cook, Garry wrote: > The check_ifstatus patch seems to output Performance Data incorrectly. > I've patched it and included the patch below. For future reference, > please let me know if I should submit this somewhere on sf.net, or if > sending to the list is ok. > Thanks. > > *** check_ifstatus.orig 2004-06-16 08:11:54.000000000 -0600 > --- check_ifstatus 2004-06-16 08:12:31.000000000 -0600 > *************** > *** 207,213 **** > $ifexclude, > $ifunused); > } > ! my $perfdata = > sprintf("up:%d,down:%d,dormant:%d,excluded:%d,unused:%d",$ifup,$ifdown, > $ > ifdormant,$ifexclude,$ifunused); > print ("$state: $answer |$perfdata\n"); > exit $ERRORS{$state}; > > --- 207,213 ---- > $ifexclude, > $ifunused); > } > ! my $perfdata = > sprintf("up=%d,down=%d,dormant=%d,excluded=%d,unused=%d",$ifup,$ifdown, > $ > ifdormant,$ifexclude,$ifunused); > print ("$state: $answer |$perfdata\n"); > exit $ERRORS{$state}; > > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code > NWMGYKND > _______________________________________________ > Nagiosplug-devel mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel > ::: Please include plugins version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > |