This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Tue Jun 04, 2019 9:00 am
Please run this exact command and post the full output to the ticket.
Code: Select all
/usr/local/nagios/libexec/check_wmi_plus.pl -H zzzzzzz -u xxxxxx -p yyyyy -m checkdrivesize -a 'D:' -w _FreeGB=10: -c _FreeGB=5: "--debuglevel=4" -d
Be sure to check out our
Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445 Joined: Mon Nov 19, 2012 11:36 am
Post
by Frédéric GRANAT » Tue Jun 04, 2019 10:16 am
It returns the same output :
Code: Select all
[[email protected] ~]# /usr/local/nagios/libexec/check_wmi_plus.pl -H xxxxxx -u xxxxxxx -p xxxxxx -m checkdrivesize -a 'C:|D:|E:|F:|G:|Q:|H:|I:|L:|M:|N:|R:' -w _FreeGB=10: -c _FreeGB=5: "--debuglevel=4" -d
Complex Format:_UsedSpace,#B,Used,, ,,
Please remove sensible data from your previous post (sorry I forgot to remove it)
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Tue Jun 04, 2019 12:50 pm
You are not running the command like I asked, I only want you to run the check against the D: Drive only, not all of the drives on the system.
Be sure to check out our
Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445 Joined: Mon Nov 19, 2012 11:36 am
Post
by Frédéric GRANAT » Thu Jun 06, 2019 7:40 am
Hi,
Here it is :
Code: Select all
[[email protected] ~]# /usr/local/nagios/libexec/check_wmi_plus.pl -H xxxxxxx -u xxxxxx -p xxxxxxx -m checkdrivesize -a 'D:' -w _FreeGB=10: -c _FreeGB=5: "--debuglevel=4" -d
Complex Format:_UsedSpace,#B,Used,, ,,
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Thu Jun 06, 2019 12:06 pm
Can you login to that windows server and get the properties of the D Drive and screen capture it and post it to the ticket so we can see it's details?
Run this as root on the Nagios server and post the output here.
Code: Select all
/usr/local/nagios/libexec/check_wmi_plus.pl --version
Get all of the following files from the Nagios server and post them to the ticket.
Code: Select all
/usr/local/nagios/libexec/check_wmi_plus.conf
/usr/local/nagios/libexec/check_wmi_plus.pl
/usr/local/nagios/libexec/check_wmi_plus.ini
Be sure to check out our
Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445 Joined: Mon Nov 19, 2012 11:36 am
Post
by Frédéric GRANAT » Tue Jun 11, 2019 9:31 am
Code: Select all
[root@nagiosxi ~]# /usr/local/nagios/libexec/check_wmi_plus.pl --version
Version: 1.64
I attached the files.
You do not have the required permissions to view the files attached to this post.
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Tue Jun 11, 2019 2:28 pm
Thanks for the files. Just checking them to see is there were any changes to them that could effect the plugin.
Can you login to that windows server and get the properties of the D Drive, screen capture it and post it to the ticket so we can see it's details?
Be sure to check out our
Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445 Joined: Mon Nov 19, 2012 11:36 am
Post
by Frédéric GRANAT » Fri Jun 14, 2019 2:20 am
Here are the properties of the D: drive
You do not have the required permissions to view the files attached to this post.
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Fri Jun 14, 2019 8:55 am
Nothing looks out of the ordinary so let's try running the plugin without any thresholds set to see if it works.
Run this command.
Code: Select all
/usr/local/nagios/libexec/check_wmi_plus.pl -H xxxxxxx -u xxxxxx -p xxxxxxx -m checkdrivesize -a 'D:'
Another thing to look at is the permissions set on the drive.
If the user account you are using does not have access to the drive, it may cause that error.
Be sure to check out our
Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445 Joined: Mon Nov 19, 2012 11:36 am
Post
by Frédéric GRANAT » Tue Jun 18, 2019 9:32 am
It's not a permission problem since the check on drive C: works well and I checked the permissions and it's correct
Last edited by
Frédéric GRANAT on Thu Jun 20, 2019 5:00 am, edited 1 time in total.