Hi Team,
I am getting this error for Datastore Usage for VMHost monitor :
ESX3 CRITICAL - Can't use an undefined value as an ARRAY reference at /usr/local/nagios/libexec/check_esx3.pl line 1061.
All the remaining monitors like Memory for VMHost, CPU usage for VMHost etc. are working fine.
Please advice.
Regards,
Shinoj.
check_esx3 problem
Re: check_esx3 problem
Does the datastore exist? Does it have a size?
We have seen this issue before, and it is always related to a missing or size 0 datastore.
We have seen this issue before, and it is always related to a missing or size 0 datastore.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: check_esx3 problem
Hi,
Datastores are configured and they have a non-zero size. PFA a screenshot.
Regards,
Shinoj.
Datastores are configured and they have a non-zero size. PFA a screenshot.
Regards,
Shinoj.
You do not have the required permissions to view the files attached to this post.
Re: check_esx3 problem
What is the full command you are running?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: check_esx3 problem
Here is the command :
check_esx3_host!/usr/local/nagiosxi/etc/components/vmware/10_21_1_41_auth.txt!VMFS!
Regards,
Shinoj.
check_esx3_host!/usr/local/nagiosxi/etc/components/vmware/10_21_1_41_auth.txt!VMFS!
Regards,
Shinoj.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_esx3 problem
Can you verify the others (that are working) are using the came credentials file
/usr/local/nagiosxi/etc/components/vmware/10_21_1_41_auth.txt
I ask because I noticed that in your image the Host is 10.11.1.41, and it looks like this auth file was created for 10.21.1.41
/usr/local/nagiosxi/etc/components/vmware/10_21_1_41_auth.txt
I ask because I noticed that in your image the Host is 10.11.1.41, and it looks like this auth file was created for 10.21.1.41
Re: check_esx3 problem
Hi,
The change in IP is because there is a NAT in between. Also, the credentials are correct - I get all the other details. Attached is a screenshot :
Regards,
Shinoj.
The change in IP is because there is a NAT in between. Also, the credentials are correct - I get all the other details. Attached is a screenshot :
Regards,
Shinoj.
You do not have the required permissions to view the files attached to this post.
Re: check_esx3 problem
Can you post the full command as configured for the datastore check?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: check_esx3 problem
[root@localhost etc]# /usr/local/nagios/libexec/check_esx3.pl -H 10.21.1.41 -f /usr/local/nagiosxi/etc/components/vmware/10_21_1_41_auth.txt -l vmfs
ESX3 CRITICAL - Can't use an undefined value as an ARRAY reference at /usr/local/nagios/libexec/check_esx3.pl line 1061.
Hope this is what you are looking for.
Regards,
Shinoj.
ESX3 CRITICAL - Can't use an undefined value as an ARRAY reference at /usr/local/nagios/libexec/check_esx3.pl line 1061.
Hope this is what you are looking for.
Regards,
Shinoj.
Re: check_esx3 problem
Are any of the volumes exceptionally large?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.