Status information UNKNOWN

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Status information UNKNOWN

Post by Box293 »

ziedmahjoub wrote:
Box293 wrote:check_nrpe for NSClient++ allows multiple drives:

Code: Select all

Command:
check_nrpe -H win7-01 -t 30 -c CheckDriveSize -a ShowAll MaxWarn=80% MaxCrit=90% Drive=C: Drive=E:

Output:
OK: C:: 17G, E:: 91M|'C: %'=28%;80;90 'C:'=16.99G;47.9;53.9;0;59 'E: %'=0%;80;90 'E:'=90.97M;32765.59;36861.29;0;40956.99
Box do you mean they can be checked at the same time ?
Yes
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ziedmahjoub
Posts: 142
Joined: Fri Jan 16, 2015 5:22 am

Re: Status information UNKNOWN

Post by ziedmahjoub »

Box,
i wanna know , how can you check 2 disks in just one command definition !!

im put -l H J ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Status information UNKNOWN

Post by scottwilkerson »

as mentioned before you can use the following

Code: Select all

check_nrpe -H win7-01 -t 30 -c CheckDriveSize -a ShowAll MaxWarn=80% MaxCrit=90% Drive=C: Drive=E:
This would check Drive C: and drive E:
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ziedmahjoub
Posts: 142
Joined: Fri Jan 16, 2015 5:22 am

Re: Status information UNKNOWN

Post by ziedmahjoub »

its ok
Locked