Hi all,
I'm trying to find a way to check Avg. Disk Sec/Read and get a warning and critical notifications in ms.
How can i configure the next command with values in MS ?
./check_nt -H 10.0.0.21 -s "Test@193" -p 12489 -v COUNTER -l "\\PhysicalDisk(0 C:)\\Avg. Disk Sec/Read","%.2f"
Thanks
perfmon checks
Re: perfmon checks
Hello,
I'm not exactly sure on what you mean in MS? Are you referring to adding this check into Nagios Core for monitoring?
Is MS suppose to mean Microsoft? Since check_nt is using NSClient++ which is for monitoring Windows. OR is ms suppose to mean get warning and critical notifications in milliseconds?
If you could give us some more detail on what you're wanting to do then I can let you know.
I'm not exactly sure on what you mean in MS? Are you referring to adding this check into Nagios Core for monitoring?
Is MS suppose to mean Microsoft? Since check_nt is using NSClient++ which is for monitoring Windows. OR is ms suppose to mean get warning and critical notifications in milliseconds?
If you could give us some more detail on what you're wanting to do then I can let you know.
Re: perfmon checks
Hi,
So i would like to configure to Warning and Criticl values of the check in milliseconds.
Is it possible ?
So i would like to configure to Warning and Criticl values of the check in milliseconds.
Is it possible ?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: perfmon checks
So Avg. Disk Sec/Read displays the average time the disk transfers took to complete, in seconds, so if you wanted to warn over 4 milliseconds you would set warning to 0.0004amitw wrote:Hi,
So i would like to configure to Warning and Criticl values of the check in milliseconds.
Is it possible ?
Re: perfmon checks
Thanks for the answer Scoot.
However, when i try to configure 0.1 on the warning and 0.2 and on critical values, it shows on the test result values of 0.0 for both critical and warning
./check_nt -H 10.60.30.2 -p 12489 -v COUNTER -l "\PhysicalDisk(_Total)\\Avg. Disk sec/Read","avg disk read is %.2f" -w 0.2 -c 0.1
avg disk read is 0.00 | 'avg disk read is %.2f'=0.000000%;0.000000;0.000000;
How it can be fixed ?
Thanks
However, when i try to configure 0.1 on the warning and 0.2 and on critical values, it shows on the test result values of 0.0 for both critical and warning
./check_nt -H 10.60.30.2 -p 12489 -v COUNTER -l "\PhysicalDisk(_Total)\\Avg. Disk sec/Read","avg disk read is %.2f" -w 0.2 -c 0.1
avg disk read is 0.00 | 'avg disk read is %.2f'=0.000000%;0.000000;0.000000;
How it can be fixed ?
Thanks
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: perfmon checks
Actually, my apologies, I just verified that in check_nt the warning and critical variables must be integers, so whole numbers only
Sorry for leading you down the wrong path
Code: Select all
-w, --warning=INTEGER
Threshold which will result in a warning status
-c, --critical=INTEGER
Threshold which will result in a critical status
Re: perfmon checks
Thanks Scoot,
Eventuality, i used check_nrpe
Eventuality, i used check_nrpe
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: perfmon checks
Good to hear
Locking
Locking