Yes i just checked , you were right the machine got 2 partitions with letters H and Jssax wrote:And just to make sure, can you validate that the machine does have a C drive? I know sometimes people install it and it not lettered C.
Status information UNKNOWN
-
ziedmahjoub
- Posts: 142
- Joined: Fri Jan 16, 2015 5:22 am
Re: Status information UNKNOWN
Re: Status information UNKNOWN
Run the following checks to see if they work for you.
Code: Select all
H Drive
./check_nt -H Tesco_Chaima_IP_ADDRESS -p 12495 -s nagiosadmin -v USEDDISKSPACE -l h -w 80 -c 90
J Drive
./check_nt -H Tesco_Chaima_IP_ADDRESS -p 12495 -s nagiosadmin -v USEDDISKSPACE -l j -w 80 -c 90
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
ziedmahjoub
- Posts: 142
- Joined: Fri Jan 16, 2015 5:22 am
Re: Status information UNKNOWN
Yes they work fine , where i need to replace C with H and J in the nagios config ?tgriep wrote:Run the following checks to see if they work for you.Code: Select all
H Drive ./check_nt -H Tesco_Chaima_IP_ADDRESS -p 12495 -s nagiosadmin -v USEDDISKSPACE -l h -w 80 -c 90 J Drive ./check_nt -H Tesco_Chaima_IP_ADDRESS -p 12495 -s nagiosadmin -v USEDDISKSPACE -l j -w 80 -c 90
Re: Status information UNKNOWN
This is the service check you would have to edit from your earlier post.
Change the description to whichever drive you want to edit and the -l variable to the same drive letter.
Code: Select all
define service{
use generic-service
host_name Soteb_Hasna,Tesco_Chaima
service_description C:\ Drive Space
check_command check_nt!12495!USEDDISKSPACE!-l c -w 80 -c 90
}
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
ziedmahjoub
- Posts: 142
- Joined: Fri Jan 16, 2015 5:22 am
Re: Status information UNKNOWN
can i put 2 lettres ?tgriep wrote:This is the service check you would have to edit from your earlier post.
Change the description to whichever drive you want to edit and the -l variable to the same drive letter.Code: Select all
define service{ use generic-service host_name Soteb_Hasna,Tesco_Chaima service_description C:\ Drive Space check_command check_nt!12495!USEDDISKSPACE!-l c -w 80 -c 90 }
for example :
Code: Select all
check_command check_nt!12495!USEDDISKSPACE!-l h j -w 80 -c 90Re: Status information UNKNOWN
No, you would have to create 2 separate checks. One for H and one for J.
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: Status information UNKNOWN
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.99As 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
Box do you mean they can be checked at the same time ?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
-
ziedmahjoub
- Posts: 142
- Joined: Fri Jan 16, 2015 5:22 am
Re: Status information UNKNOWN
it worked finetgriep wrote:No, you would have to create 2 separate checks. One for H and one for J.
Last edited by ziedmahjoub on Fri Apr 10, 2015 10:46 am, edited 1 time in total.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Status information UNKNOWN
ziedmahjoub - looks like this one is solved? Can we lock and mark it as such?