Hi Nagios,
two weeks ago ww changed our VMWare version from 6.0 to 6.5. and because I have changed the root password on my VMWare I have also changed it on my Nagios services:
Uptime
OK 11-07-2018 11:30:20 406d 21h 36m 31s 1/3 System Uptime - 27 day(s) 19 hour(s) 36 minute(s)
ESX6
ESX Hardware Check
UNKNOWN 11-07-2018 11:23:09 24d 17h 13m 36s 3/3 UNKNOWN: Authentication Error
ESX7
ESX Hardware Check
UNKNOWN 11-07-2018 11:29:17 24d 17h 21m 58s 3/3 UNKNOWN: Authentication Error
ESX8
ESX Hardware Check
UNKNOWN 11-07-2018 11:24:35 24d 17h 16m 43s 3/3 UNKNOWN: Authentication Error
But unfortunately I get this error.
I have changed the password in my config. file:
# 'check_esxi_hardware' command definition
define command{
command_name check_esxi_hardware.py
command_line $USER1$/check_esxi_hardware.py -H xxx.xx.x.xx xxx.xx.x.xx xxx.xx.x.xx xxx.xx.x.xx -U root $ARG1$ -P 'Xxxxx.xxx' $ARG2$ -C 5989 $ARG3$
What is wrong?
PS as always I do restart services:)
Do I miss something?
Best Regards
Michael Pierre Nielsen
ESXI Nagios Core Service
ESXI Nagios Core Service
Michael Pierre
Forenede Gruppeliv
2500 Valby
Copenhagen
Forenede Gruppeliv
2500 Valby
Copenhagen
Re: ESXI Nagios Core Service
Does your new password contain any special characters such as !, $, etc?
If you run the command manually what does it show?
- Note: Make sure to put in the proper values for the non-working command, if you post the service definition we can help you construct it.
If you run the command manually what does it show?
- Note: Make sure to put in the proper values for the non-working command, if you post the service definition we can help you construct it.
Code: Select all
/usr/local/nagios/libexec/check_esxi_hardware.py check_esxi_hardware.py -H xxx.xx.x.xx xxx.xx.x.xx xxx.xx.x.xx xxx.xx.x.xx -U root $ARG1$ -P 'Xxxxx.xxx' $ARG2$ -C 5989 $ARG3$
Re: ESXI Nagios Core Service
Additionally, what version are you running?
Code: Select all
grep 'version = ' /usr/local/nagios/libexec/check_esxi_hardware.py
Re: ESXI Nagios Core Service
Hi ssax,
thanks for an quick answer:)
1. No I do not use special characters
2. version = '20170905'
3. I will remember to put my question in proper vakues
Service definition:
# 'check_esxi_hardware' command definition
define command{
command_name check_esxi_hardware.py
command_line $USER1$/check_esxi_hardware.py -H 172.xx.x.xx 172.xx.x.xx 172.xx.x.xx 172.xx.x.xx -U root $ARG1$ -P 'Xxxxx.xxx' $ARG2$ -C 5989 $ARG3$
Host Nagios website:
ESX6
ESX Hardware Check
UNKNOWN 11-08-2018 09:33:09 25d 15h 22m 46s 3/3 UNKNOWN: Authentication Error
ESX7
ESX Hardware Check
UNKNOWN 11-08-2018 09:39:17 25d 15h 31m 8s 3/3 UNKNOWN: Authentication Error
ESX8
ESX Hardware Check
UNKNOWN 11-08-2018 09:34:35 25d 15h 25m 53s 3/3 UNKNOWN: Authentication Error
ESX9
ESX Hardware Check
UNKNOWN 11-08-2018 09:37:46 25d 15h 22m 46s 3/3 UNKNOWN: Authentication Error
thanks for an quick answer:)
1. No I do not use special characters
2. version = '20170905'
3. I will remember to put my question in proper vakues
Service definition:
# 'check_esxi_hardware' command definition
define command{
command_name check_esxi_hardware.py
command_line $USER1$/check_esxi_hardware.py -H 172.xx.x.xx 172.xx.x.xx 172.xx.x.xx 172.xx.x.xx -U root $ARG1$ -P 'Xxxxx.xxx' $ARG2$ -C 5989 $ARG3$
Host Nagios website:
ESX6
ESX Hardware Check
UNKNOWN 11-08-2018 09:33:09 25d 15h 22m 46s 3/3 UNKNOWN: Authentication Error
ESX7
ESX Hardware Check
UNKNOWN 11-08-2018 09:39:17 25d 15h 31m 8s 3/3 UNKNOWN: Authentication Error
ESX8
ESX Hardware Check
UNKNOWN 11-08-2018 09:34:35 25d 15h 25m 53s 3/3 UNKNOWN: Authentication Error
ESX9
ESX Hardware Check
UNKNOWN 11-08-2018 09:37:46 25d 15h 22m 46s 3/3 UNKNOWN: Authentication Error
Michael Pierre
Forenede Gruppeliv
2500 Valby
Copenhagen
Forenede Gruppeliv
2500 Valby
Copenhagen
Re: ESXI Nagios Core Service
Please test with the latest version downloaded from here:
https://exchange.nagios.org/directory/P ... py/details
There are likely some changes that occurred between 6.0 and 6.5.
Let us know the results.
https://exchange.nagios.org/directory/P ... py/details
There are likely some changes that occurred between 6.0 and 6.5.
Let us know the results.
Re: ESXI Nagios Core Service
Hi,
it helped:) The problem is solved:)
it helped:) The problem is solved:)
Michael Pierre
Forenede Gruppeliv
2500 Valby
Copenhagen
Forenede Gruppeliv
2500 Valby
Copenhagen
Re: ESXI Nagios Core Service
That's great to hear! Are we okay to lock the topic and mark it as resolved?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: ESXI Nagios Core Service
Locking threadmichaelpn wrote:Yes