I want to monitor my esxi host without vcenter and I did follow configurations but it cannot detect any service on esxi host . Please see attached pics . What is the issue ?
Run cmk -D HOSTNAME to see the command line for the vSphere special agent.
Run this command line with an additional --debug option to see the errors.
All as site user.
It shows command not found
root@checkmk:/# cmk -D lab2.op.or --debug
bash: cmk: command not found
see above: run these commands “as site user”, not as root!
I am running checkmk with docker and now I don’t have that user this is my passwd file in checkmk container:
root@checkmk:/# cat /etc/passwd | mysite
bash: mysite: command not found
i think
you probably meant to pipe to “grep mysite” or “grep mysite /etc/passwd” directly.
Sorry, no personal experience with checkmk in docker. someone else?
I can add vcenter that include hosts but cannot add single esxi hosts . Also vcenter and esxi hosts are in the same subnet
vSphere uses the special agent that uses the vSphere API. So you need either to configure your ESXi hosts to use the same (Not sure that will work) OR you have to use SNMP for your ESXi hosts.
This is strange that no one did not add esxi host to checkmk
This is my output
lab2.o.r
Addresses: 172.x.x.x
Tags: [address_family:ip-v4-only], [agent:cmk-agent], [criticality:prod], [networking:lan], [piggyback:auto-piggyback], [site:mysite], [snmp_ds:no-snmp]
Labels: [cmk/site:mysite]
Host groups: check_mk
Contact groups: check-mk-notify
Agent mode: No agent
Type of agent:
Process piggyback data from /omd/sites/mysite/tmp/check_mk/piggyback/lab2.o.r
PING only
Services:
checktype item params description groups
–debug
Addresses: 0.0.0.0
Tags: [address_family:ip-v4-only], [agent:cmk-agent], [criticality:prod], [networking:lan], [piggyback:auto-piggyback], [site:mysite], [snmp_ds:no-snmp]
Labels: [cmk/site:mysite]
Host groups: check_mk
Contact groups: check-mk-notify
Agent mode: No agent
Type of agent:
Process piggyback data from /omd/sites/mysite/tmp/check_mk/piggyback/–debug
PING only
Services:
checktype item params description groups
OMD[mysite]:~$
The host lab2.o.r is set to “PING only”. You need to change the data source property of the host to use API integration. Then the special agent for vSphere will be called.
You have placed the --debug at the wrong place. I meant that you need to add that to the command line for the vSphere special agent.
Its strange that some people cant follow instructions…
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.