Page 3 of 3
Re: Network Interface Utilization on Windows Servers
Posted: Tue Oct 29, 2013 2:26 pm
by lmiltchev
Go to Home->Service Detail-><your service>->Configure->Re-configure this service, and see if you have the same command as the one you used successfully from the CLI. You are correct about the "Test Check Command" escaping issues under the CCM. Testing commands from the CCM works most of the time but not always, because of the escaping issues. Try modifying the command in the "Monitor the service with this command..." text box, click on "Update" and and schedule an immediate check. Hope this helps.
Re: Network Interface Utilization on Windows Servers
Posted: Thu Oct 31, 2013 12:52 pm
by joe.ward
Go to Home->Service Detail-><your service>->Configure->Re-configure this service says the service is configured through CCM so I have to go there.
Where is the "Monitor the service with this command..." text box? The only place I see to set up the command is in CCM.
Re: Network Interface Utilization on Windows Servers
Posted: Thu Oct 31, 2013 1:28 pm
by slansing
Okay,
In the CCM page for this service change the counter value to:
Code: Select all
"\\Network Interface\\(Intel\\[R\\] PRO_1000 MT Network Connection\\)\\Bytes Sent/sec"
Re: Network Interface Utilization on Windows Servers
Posted: Fri Nov 01, 2013 3:23 pm
by joe.ward
Well, after exhausting all other options, I found that just the straight text, escaping the \'s did the trick. Sure thought we'd tried that before...
"\\Network Interface(Intel[R] PRO_1000 MT Network Connection)\\Bytes Sent/sec"
works from the Core Config service definition page!
I tried to set the label using ""\\Network Interface(Intel[R] PRO_1000 MT Network Connection)\\Bytes Sent/sec","Bytes/sec" and now all that is displayed in the results is "Bytes/sec". Even when I go back and remove ",Bytes/sec" from the definition, it still shows as the returned value. How do I clear the label/format and go back to the basic, unformatted, result?
Re: Network Interface Utilization on Windows Servers
Posted: Fri Nov 01, 2013 4:37 pm
by yancy
What label are you speaking of? I'm not seeing any field titled label in the CCM...
-Yancy
Re: Network Interface Utilization on Windows Servers
Posted: Thu Apr 17, 2014 3:02 pm
by joe.ward
Hello Yancy
I've hit this problem again
check_nt -v COUNTER takes "-l <param1>,
<param2>" where param2 is the "label".
"\\Network Interface(Intel[R] PRO_1000 MT Network Connection)\\Bytes Sent/sec",
"Windows Performance Counter - Bytes/sec %.0f" sets the label on Service Status Detail - Performance Graph to
Windows Performance Counter - Bytes/sec %.0f. If I shorten param2 to
Bytes/sec %.0f, the Performance Graph still shows the previous label. Flushing the browser cache, logging out of Nagios, even restarting the Performance Grapher process does not sync the labels up.
Service Status Details - Overview shows the last returned value is "
Bytes/sec 136739" (looks like the correct label).
Why doesn't Performance Graph use the same label as Overview does? Performance Graph even shows it with %.0f as a text string (expected this format output string to be suppressed in the graph legend). "%.0f" should be replaced by the value. How can I get them into sync?
Re: Network Interface Utilization on Windows Servers
Posted: Thu Apr 17, 2014 4:57 pm
by lmiltchev
I was able to recreate the issue. We will do some digging into it to determine if this is a bug, and will get back to you.