[Nagiosplug-help] Problem with check_nt -V COUNTER

Harper Mann hmann at itgroundwork.com
Tue Jan 4 02:48:36 CET 2005


Hi Tamas,

This is fixed in nagios-plugins-1.4-beta1.  Please download it from
http://sourceforge.net/project/showfiles.php?group_id=29880 and give it a
try.  If the result is good, we'll close the open bug.

Regards,

- Harper

Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
http://itgroundwork.com

-----Original Message-----
From: nagiosplug-help-admin at lists.sourceforge.net
[mailto:nagiosplug-help-admin at lists.sourceforge.net] On Behalf Of Horváth
Tamás
Sent: Monday, January 03, 2005 9:57 AM
To: Nagiosplug-Help at Lists. Sourceforge. Net
Subject: [Nagiosplug-help] Problem with check_nt -V COUNTER

Hi listmembers!

I use 1.4 alpha3 plugins and tried its check_nt.
The version of this:
antsz1:/usr/local/nagios/libexec# ./check_nt -V
check_nt (nagios-plugins 1.4.0-alpha3) 1.36

I've tried COUNTER option with a Hungarian Windows 2000 Professional:
antsz1:/usr/local/nagios/libexec# ./check_nt -H 10.56.5.116 -p 1248 -v
COUNTER -l "\\Processzor(_Total)\\Megszakítások
(megszakítás/mp)","Másodpercenkénti megszakítás szám: %.f" -w 90 -c 95
Másodpercenkénti megszakítás szám: %.f = 79.00 %|'Másodpercenkénti
megszakítás szám: %.f'=79.000000%;90.000000;95.000000;

According to the NSClient documentation I need to give a precise and
specific syntax to make it (printf) work. I read C's printf docu and tried
all its options, but:

1. IT IS WORKING ONLY, IF I GIVE A % SIGN IN THE  counter description FIELD.

2. The plugin REPEATS MY FORMAT STRING IN ITS OUTPUTS (normal and perfdata
outputs).

How can I solve this annoying issue?


I've downloaded pNSClient from nagiosexchange.org. According to this
website: "Last update: 03.01.2005 by nagiosexchange".

The version of this:
antsz1:/usr/local/nagios/libexec# /root/LinuxBin/check_nt -V
check_nt (nagios-plugins 1.3.1) 1.7

But if I tried the -V COUNTER option with a Hungarian W2K Professional, I
got the following output:
antsz1:/usr/local/nagios/libexec# /root/LinuxBin/check_nt -H 10.56.5.116 -p
1248 -v COUNTER -l "\\Processzor(_Total)\\Megszakítások
(megszakítás/mp)","Másodpercenkénti megszakítás szám: %.f" -w 90 -c 95
Másodpercenkénti megszakítás szám: 74.

It's OK, but there is now Performance data.

My system: Nagios 1.2 on Debian Woody.

Thanks in advance, Tamas!



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null






More information about the Help mailing list