Plugin for Copy Read Hits ( Windows ) - NT_CACHE
Plugin for Copy Read Hits ( Windows ) - NT_CACHE
Hi,
Can you please suggest what would be the plugin for monitoring this:
Copy Read Hits :
Displays the percentage of cache copy read requests. A copy read is a file read operation that is satisfied by a memory copy from a cache page to the application's buffer. If the value is greater than a percent is excellent.
If the Copy Read Hits decreases in value by about 10 percent while Copy Reads there is an overall memory shortage.
Thresholds for alarms and warnings
Alarm 1 0-19 percent Alarm
Alarm 2 19-30 percent Warn
Can you please suggest what would be the plugin for monitoring this:
Copy Read Hits :
Displays the percentage of cache copy read requests. A copy read is a file read operation that is satisfied by a memory copy from a cache page to the application's buffer. If the value is greater than a percent is excellent.
If the Copy Read Hits decreases in value by about 10 percent while Copy Reads there is an overall memory shortage.
Thresholds for alarms and warnings
Alarm 1 0-19 percent Alarm
Alarm 2 19-30 percent Warn
Regards,
Ranjit W
Ranjit W
Re: Plugin for Copy Read Hits ( Windows ) - NT_CACHE
Is your goal to monitor the "Copy Read Hits %" Windows performance counter? Can you elaborate?
If this is the case, you can use NSClient++.
If this is the case, you can use NSClient++.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Plugin for Copy Read Hits ( Windows ) - NT_CACHE
To expand on what @lmiltchev said, this here might explain in more detail how to monitor a performance counter in NSClient++:
http://sites.box293.com/nagios/guides/c ... erformance
(yes I know it's about disk performance but the steps invovled are the same)
http://sites.box293.com/nagios/guides/c ... erformance
(yes I know it's about disk performance but the steps invovled are the same)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Plugin for Copy Read Hits ( Windows ) - NT_CACHE
Hi lumiltchev,
Yes, I want to monitor Copy Read Hits in windows performance counter.
I tried below command but its failing with error.
./check_nrpe -H xxx.xxx.xx.xxx -c CheckCounter -a 'Counter:C: % Read Time=\LogicalDisk(C:)\% Disk Read Time' ShowAll MaxWarn=50 MaxCrit=75
Could not construct return packet in NRPE handler check client side (nsclient.log) logs...
IN nsclinet.log I see below error :
2015-10-27 06:31:49: error:modules\NRPEListener\NRPEListener.cpp:432: Request arguments contained illegal metachars!
2015-10-27 06:31:49: error:modules\NRPEListener\NRPEListener.cpp:320: Exception handling NRPE packet
Yes, I want to monitor Copy Read Hits in windows performance counter.
I tried below command but its failing with error.
./check_nrpe -H xxx.xxx.xx.xxx -c CheckCounter -a 'Counter:C: % Read Time=\LogicalDisk(C:)\% Disk Read Time' ShowAll MaxWarn=50 MaxCrit=75
Could not construct return packet in NRPE handler check client side (nsclient.log) logs...
IN nsclinet.log I see below error :
2015-10-27 06:31:49: error:modules\NRPEListener\NRPEListener.cpp:432: Request arguments contained illegal metachars!
2015-10-27 06:31:49: error:modules\NRPEListener\NRPEListener.cpp:320: Exception handling NRPE packet
Regards,
Ranjit W
Ranjit W
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Plugin for Copy Read Hits ( Windows ) - NT_CACHE
Open a command prompt on your windows server and execute these commands:
Then restart the NSClient++ service.
Code: Select all
cd "\Program Files\NSClient++\"
nscp settings --activate-module NRPEServer --add-defaults
nscp settings --path /settings/NRPE/server --key "allow arguments" --set true
nscp settings --path /settings/NRPE/server --key "allow nasty characters" --set true
IF this is NSClient++ 0.4.3 onwards
nscp settings --path /settings/NRPE/server --key insecure --set trueAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Plugin for Copy Read Hits ( Windows ) - NT_CACHE
Hi Box293,
We are currently using below version . Is this not supported for 0.3.9.328 ?
C:\Program Files\NSClient++>"nsclient++.exe" -version
l NSClient++.cpp(369) NSClient++ Version: 0.3.9.328 2011-08-16, Plattform: x64
Can you please attached NSClient++ 0.4.3 to this case please in zip format it would be of great help.
We are currently using below version . Is this not supported for 0.3.9.328 ?
C:\Program Files\NSClient++>"nsclient++.exe" -version
l NSClient++.cpp(369) NSClient++ Version: 0.3.9.328 2011-08-16, Plattform: x64
Can you please attached NSClient++ 0.4.3 to this case please in zip format it would be of great help.
Regards,
Ranjit W
Ranjit W
Re: Plugin for Copy Read Hits ( Windows ) - NT_CACHE
Hi ,
I have upgraded the NSclient++ can you please share me the command for copy read hits.
I have upgraded the NSclient++ can you please share me the command for copy read hits.
Regards,
Ranjit W
Ranjit W
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Plugin for Copy Read Hits ( Windows ) - NT_CACHE
The commands provided by Box293 were intended to resolve the error you encountered:
If you are still seeing the same issue you can use the command Box293 provided earlier:ranjitw wrote:Code: Select all
2015-10-27 06:31:49: error:modules\NRPEListener\NRPEListener.cpp:432: Request arguments contained illegal metachars! 2015-10-27 06:31:49: error:modules\NRPEListener\NRPEListener.cpp:320: Exception handling NRPE packet
If you have a new issue please elaborate.Box293 wrote:Code: Select all
cd "\Program Files\NSClient++\" nscp settings --activate-module NRPEServer --add-defaults nscp settings --path /settings/NRPE/server --key "allow arguments" --set true nscp settings --path /settings/NRPE/server --key "allow nasty characters" --set true nscp settings --path /settings/NRPE/server --key insecure --set true
Re: Plugin for Copy Read Hits ( Windows ) - NT_CACHE
Try running this to see if you get the data for the read hits.
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx -c CheckCounter -a 'Counter=\Cache\Copy Read Hits %' ShowAll MaxWarn=50 MaxCrit=75Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Plugin for Copy Read Hits ( Windows ) - NT_CACHE
Hi ,
I have got the ouptut using the below command :
./check_nrpe -H xxx.xxx.xx.xxx -c CheckCounter -a ShowAll "Counter=\\Cache\\Copy Read Hits %" MinWarn=20 MinCrit=10
OK: \Cache\Copy Read Hits % = 100|'\Cache\Copy Read Hits %none'=100;20;10
Is there an option in command where we specify to generate an alarm only after getting an average of 45 mins ?
I have got the ouptut using the below command :
./check_nrpe -H xxx.xxx.xx.xxx -c CheckCounter -a ShowAll "Counter=\\Cache\\Copy Read Hits %" MinWarn=20 MinCrit=10
OK: \Cache\Copy Read Hits % = 100|'\Cache\Copy Read Hits %none'=100;20;10
Is there an option in command where we specify to generate an alarm only after getting an average of 45 mins ?
Regards,
Ranjit W
Ranjit W