Can't seem to graph a rate
Posted: Sun Feb 06, 2022 5:03 pm
I'm using the check_nt to get exception rates from a Windows machine
in NagiosXI using the check_xi_service_nsclient "Check command" from the dropdown.
The check is successful and returns
Searched high & low to try and find a solution but no luck. Any help on next steps to investigate or better yet resolve would be greatly appreciated.
Thank you,
Code: Select all
/usr/local/nagios/libexec/check_nt -H vmnavca2test5 -s "" -p 12489 -v COUNTER -l "\\.NET CLR Exceptions(*)\\# of Exceps Thrown / sec","Exceptions per sec, rate" -w 50 -c 100
The check is successful and returns
Even though the Perfdata seems to be present, I'm not seeing expected rrd fileExceptions per sec = 0.00 rate | 'Exceptions per sec'=0.000000 rate;50.000000;100.000000;
I'm seeing some related items in the perfdata.log for this check for other hosts with the following:ls -la /usr/local/nagios/share/perfdata/vmnavca2tst5/
total 6852
drwxrwxr-x. 2 nagios nagios 4096 Feb 6 21:27 .
drwxrwxr-x. 937 nagios nagios 32768 Feb 1 15:31 ..
-rw-rw-r--. 1 nagios nagios 384952 Feb 6 21:25 ASP.NET_Request_Wait_Time.rrd
-rw-rw-r-- 1 nagios nagios 2106 Feb 6 21:25 ASP.NET_Request_Wait_Time.xml
-rw-rw-r--. 1 nagios nagios 384952 Feb 6 21:25 CPU_Usage_-_85_95.rrd
-rw-rw-r-- 1 nagios nagios 1913 Feb 6 21:25 CPU_Usage_-_85_95.xml
-rw-rw-r--. 1 nagios nagios 384952 Feb 6 21:22 Current_connections.rrd
-rw-rw-r-- 1 nagios nagios 2197 Feb 6 21:22 Current_connections.xml
-rw-rw-r--. 1 nagios nagios 2301312 Feb 6 21:22 Disk_Usage_-_all_drives_-_RAIDO.rrd
-rw-rw-r-- 1 nagios nagios 5137 Feb 6 21:22 Disk_Usage_-_all_drives_-_RAIDO.xml
-rw-rw-r--. 1 nagios nagios 384952 Feb 6 21:26 Drive_E__Disk_Usage.rrd
-rw-rw-r-- 1 nagios nagios 2026 Feb 6 21:26 Drive_E__Disk_Usage.xml
-rw-rw-r--. 1 nagios nagios 1534768 Feb 6 21:26 _HOST_.rrd
-rw-rw-r-- 1 nagios nagios 3118 Feb 6 21:26 _HOST_.xml
-rw-rw-r--. 1 nagios nagios 384952 Feb 6 21:23 Memory_Usage.rrd
-rw-rw-r-- 1 nagios nagios 2011 Feb 6 21:23 Memory_Usage.xml
-rw-rw-r--. 1 nagios nagios 384952 Feb 6 21:27 .NET_Memory_percentage_Time_in_GC.rrd
-rw-rw-r-- 1 nagios nagios 2110 Feb 6 21:27 .NET_Memory_percentage_Time_in_GC.xml
-rw-rw-r--. 1 nagios nagios 384952 Feb 6 21:25 Processor_Time_-_percent.rrd
-rw-rw-r-- 1 nagios nagios 2102 Feb 6 21:25 Processor_Time_-_percent.xml
-rw-rw-r--. 1 nagios nagios 384952 Feb 6 21:25 Uptime.rrd
-rw-rw-r-- 1 nagios nagios 1820 Feb 6 21:25 Uptime.xml
similarly in the service-perfdata, I'm haven't been able to capture for the specific host but I see for others2022-02-06 21:46:34 [15202] [2] Processing Line 286
2022-02-06 21:46:34 [15202] [2] Datatype set to 'SERVICEPERFDATA'
2022-02-06 21:46:34 [15202] [1] Found Performance Data for otherhost / .NET_Clr_Exceptions_per_sec ('Exceptions per sec'=0.000000 rate;50.000000;100.000000;)
2022-02-06 21:46:34 [15202] [2] No Custom Template found for check_xi_service_nsclient (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_nsclient.cfg)
2022-02-06 21:46:34 [15202] [2] RRD Datatype is GAUGE
2022-02-06 21:46:34 [15202] [2] Template is check_xi_service_nsclient.php
2022-02-06 21:46:34 [15202] [2] No pattern match in function _parse(rate;50.000000;100.000000; )
2022-02-06 21:46:34 [15202] [1] Invalid Perfdata detected
I checked for the hosts I'm seeing in service-perfdata and perfdata.log, the graphs don't show up either. None of the hosts/service with this service check are graphing results.DATATYPE::SERVICEPERFDATA TIMET::1644183935 HOSTNAME::otherhost SERVICEDESC::.NET Clr Exceptions per sec SERVICEPERFDATA::'Exceptions per sec'=0.000000 rate;50.000000;100.000000; SERVICECHECKCOMMAND::check_xi_service_nsclient!!COUNTER!-l "\\.NET CLR Exceptions(*)\\# of Exceps Thrown / sec","Exceptions per sec, rate" -w 50 -c 100!!!!! HOSTSTATE::UP HOSTSTATETYPE::HARD SERVICESTATE::OK SERVICESTATETYPE::HARD SERVICEOUTPUT::Exceptions per sec = 0.00 rate
Searched high & low to try and find a solution but no luck. Any help on next steps to investigate or better yet resolve would be greatly appreciated.
Thank you,