[Nagiosplug-devel] [ nagiosplug-Bugs-1042691 ] check_nt bugs (counter + USEDDISKSPACE)

SourceForge.net noreply at sourceforge.net
Thu Jan 20 17:32:15 CET 2005


Bugs item #1042691, was opened at 2004-10-07 17:58
Message generated for change (Comment added) made by harpermann
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1042691&group_id=29880

Category: Parsing problem
Group: Release (specify)
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jan Scholten (cyrin)
Assigned to: Harper Mann (harpermann)
Summary: check_nt bugs (counter + USEDDISKSPACE)

Initial Comment:
The check_nt plugin off the 1.4 alpha is not working 
correct with the NSClient 2.01

v 1.4:

/check_nt -H torino -p 1248 -v COUNTER -l "\Paging 
File(_Total)\%
Usage",'Paging File Usage is %2.2f%%' -w 40 -c 90
Paging File Usage is %2.2f%% = 3
 
[root at milano plugins]# ./check_nt -V
check_nt (nagios-plugins 1.4.0alpha1) 1.21

v. 1.3:
./check_nt -H 210.48.1.49 -p 5668 -v COUNTER -l 
"\Paging File(_Total)\% Usage",'Paging File Usage is %2.
2f%%' -w 40 -c 90
Paging File Usage is 2.15%

The %2.2f%% is not correctly parsed.

checked on Debian 3.1 and  Red Hat EL WS V3 U3 
(Thanks HarperMan)

Another Bug (?): USEDDISKSPACE interprets the -l in a 
different way:
V1.3 needs -l c
v1.4 needs -l c: (or something longer than 1 Byte see 
patch somebody checked in!)

Jan



----------------------------------------------------------------------

>Comment By: Harper Mann (harpermann)
Date: 2005-01-20 17:30

Message:
Logged In: YES 
user_id=939531

Hi Jan,

The formatting is fixed.  Give it a try when you have time.  

I just tried the -l c issue on cvs head and I can't reproduce 
the problem.  

[hmann at milano plugins]$ ./check_nt -H torino -p 1248 -v 
CLIENTVERSION
2.0.1.0
[hmann at milano plugins]$ ./check_nt -H torino -p 1248 -v 
USEDDISKSPACE -l c
c:\ - total: 111.78 Gb - used: 12.40 Gb (11%) - free 99.38 
Gb (89%) | 'c:\ Used Space'=12.40Gb;0.00;0.00;0.00;111.78

-l c seems to work on my cvs tree and I get an error if I use -
l c: .   Are you still seeing the problem?

I'm closing this bug but will reopen it if the -l c: is still an 
issue.

Regards,

- Harper

----------------------------------------------------------------------

Comment By: Jan Scholten (cyrin)
Date: 2004-12-15 19:27

Message:
Logged In: YES 
user_id=231233

Bug still persists in 1.4 alpha 3 but it works fine in 1.3

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1042691&group_id=29880




More information about the Devel mailing list