Page 1 of 1

Performance Graph Question

Posted: Wed Oct 18, 2017 8:57 am
by FrontlineIT
Good Morning,

We've recently setup performance counter monitors which output a single numeric value. However, the performance graphs output the data as a percentage. Attached are two screenshots. One screenshot showing the Output as just a numeric value which is correct but the other screenshot showing the Performance Graph data as a % which we don't want. Could we get assistance on getting this fixed? Below is the Command and Command Line for a monitor that was recently setup where we are seeing this:

Command:
check_xi_service_nsclient!somepassword!COUNTER!-l "\\SharedResourceMgr(daf_web)\NumRequests","NumRequests is %.f "!!!!!

Command Line:
$USER1$/check_nt -H $HOSTADDRESS$ -s "$ARG1$" -p 12489 -v $ARG2$ $ARG3$ $ARG4$

Thanks

Re: Performance Graph Question

Posted: Wed Oct 18, 2017 11:51 am
by kyang
This is what I have. (excuse the small performance graph, this is new) :)

Code: Select all

usr/local/nagios/libexec/check_nt -H 192.168.3.46 -s "welcome" -p 12489 -v COUNTER -l "\\Terminal Services Session(*)\\Pool Nonpaged Bytes","Terminal Services Active","Services %.f"!!!!! -w 7000000 -c 8000000
counter%.PNG
Then I took out the formatting.

Code: Select all

/usr/local/nagios/libexec/check_nt -H 192.168.3.46 -s "welcome" -p 12489 -v COUNTER -l "\\Terminal Services Session(*)\\Pool Nonpaged Bytes","Terminal Services Active","Services" -w 7000000 -c 8000000
And got this.
counternon.PNG
Is this what you were looking for?

Re: Performance Graph Question

Posted: Thu Oct 19, 2017 9:52 am
by FrontlineIT
This worked perfectly! I followed your formatting and made the changes. This ticket can be closed.

Thank you.

Re: Performance Graph Question

Posted: Thu Oct 19, 2017 10:01 am
by kyang
Glad I could help! I'll be closing this topic as resolved!

If you have any more questions, feel free to create another thread!

Thank you for using the Nagios Support Forum!