check_nt results

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
McSteve
Posts: 2
Joined: Fri Jul 27, 2007 8:45 am

check_nt results

Post by McSteve »

Hello all,

I created a complete setup using FC6, NSClient on W2k3, Nagios-tools and templates for data collection.

I'm getting graphs with 0s (Not NaNs) and this is consistent with the return from NSClient, but I want to make sure that I'm doing this right before putting into production:

linux cmd line:

/usr/lib/nagios/plugins/check_nt -H 172.16.1.63 -p 1248 -v COUNTER -l "\\LogicalDisk(D:)\\Current Disk Queue Length"

Results:

0

Does that need to be in the format "value:0" or is it correct?

advTHANKSance
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

If you only return a single number, value:<number> is not required. Find more help for creating own scripts and templates at the first link of my signature
Reinhard
McSteve
Posts: 2
Joined: Fri Jul 27, 2007 8:45 am

Post by McSteve »

Sorry for the late response, Just getting back to this project.

Are the results from check_nt always supposed to be 0?

/usr/lib/nagios/plugins/check_nt -H <hostname> -p <port> -v COUNTER -l "\\LogicalDisk(<drive>)\\Current Disk Queue Length"

This always returns 0 for me, even if I try to generate traffic.

- Steve
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I have no knwoledge of nagios scripts. But the second link of my signature may help debugging. Please bear in mind, that those scripts are running under control of cactiuser. So pay attention on PATH and permissions
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests