Hi Team,
We are getting the error as UNKNOWN while trying to monitor ESXI adapter.
Please find the below out put from a terminal.
[root@xxxx libexec]# ./check_vmware_api.pl -H xxxx -u root -p @dmin -l storage
CHECK_VMWARE_API.PL UNKNOWN - 2/3 adapters online, 22/22 LUNs ok, 88/88 paths active | adapters=2units;; LUNs=22units;; paths=88units;;
define service{
use windows-datstoreservice
host_name xxxxxxx
service_description ESXi adapter
check_command check_vmwarwe_adapters
}
But when we see from server end,we can find everything looks fine.
Can you please help us to sort out.
Is there any method to monitor only ESXI adapters instated of getting details about LUNS,paths as in above out put.
ESXi adapter UNKNOWN
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: ESXi adapter UNKNOWN
From the help in the plugin:
Supported commands(^ - blank or not specified parameter, o - options, T - timeshift value, b - blacklist) :
* storage - shows Host storage info
+ adapter - list bus adapters
b - blacklist adapters
+ lun - list SCSI logical units
b - blacklist LUN's
+ path - list logical unit paths
b - blacklist paths
^ show all storage info
So you should be able to only check adapters.
You might want to run it in verbose mode to see what is causing the issue:
Supported commands(^ - blank or not specified parameter, o - options, T - timeshift value, b - blacklist) :
* storage - shows Host storage info
+ adapter - list bus adapters
b - blacklist adapters
+ lun - list SCSI logical units
b - blacklist LUN's
+ path - list logical unit paths
b - blacklist paths
^ show all storage info
So you should be able to only check adapters.
You might want to run it in verbose mode to see what is causing the issue:
Code: Select all
./check_vmware_api.pl -H xxxx -u root -p @dmin -l storage -vvvAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
Uday Kumar
- Posts: 32
- Joined: Wed May 11, 2016 11:59 pm
Re: ESXi adapter UNKNOWN
Hi ,
We are facing same error even in verbose mode,,
[root@xxxx libexec]# ./check_vmware_api.pl -H xxxxx -u root -p @dmin -l storage -vvv
[extra-opts] check_vmware_api.pl -H xxxxx5 -u root -p t@dmin -l storage -vvv
CHECK_VMWARE_API.PL UNKNOWN - 2/3 adapters online, 22/22 LUNs ok, 88/88 paths active | adapters=2units;; LUNs=22units;; paths=88units;;
We are facing same error even in verbose mode,,
[root@xxxx libexec]# ./check_vmware_api.pl -H xxxxx -u root -p @dmin -l storage -vvv
[extra-opts] check_vmware_api.pl -H xxxxx5 -u root -p t@dmin -l storage -vvv
CHECK_VMWARE_API.PL UNKNOWN - 2/3 adapters online, 22/22 LUNs ok, 88/88 paths active | adapters=2units;; LUNs=22units;; paths=88units;;
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: ESXi adapter UNKNOWN
Try this:
You can see it only targets the adapters (and lists them).
Then you can blacklist the one you don't want:
Code: Select all
./check_vmware_api.pl -H xxxxx -u root -p @dmin -l storage -s adapter
CHECK_VMWARE_API.PL UNKNOWN - vmhba0 (unknown); vmhba1 (unknown); | adapters=0units;;Then you can blacklist the one you don't want:
Code: Select all
./check_vmware_api.pl -H xxxxx -u root -p @dmin -l storage -s adapter -x vmhba0
CHECK_VMWARE_API.PL UNKNOWN - vmhba0 (ignored); vmhba1 (unknown); | adapters=1units;;As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
Uday Kumar
- Posts: 32
- Joined: Wed May 11, 2016 11:59 pm
Re: ESXi adapter UNKNOWN
Hi Team,
Thanks for you help,..
Thanks for you help,..
Re: ESXi adapter UNKNOWN
Is it alright if we lock this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
Uday Kumar
- Posts: 32
- Joined: Wed May 11, 2016 11:59 pm
Re: ESXi adapter UNKNOWN
Hi,
You can close this thread, its working fine...
You can close this thread, its working fine...