I think this special agent is an extra installed mkp package.
Can you take a look at the folder “~/local/share/check_mk/agents/special/” if there is something inside.
Also it would be good to make a “cmk -D emchostname” to get the current special agent call.
This must then be tested on the command line as i think you get some errors there.
Hi Andreas
thanks for the your feedback.
there is nothing in the folder
OMD[london]:~$ ls -al ~/local/share/check_mk/agents/special/
total 0
drwxrwxr-x 2 london london 6 May 3 17:57 ./
drwxrwxr-x 6 london london 63 Apr 28 10:15 …/
however when I run “cmk -D emchostname”
OMD[london]:~$ cmk -D emchostname
emchostname
Addresses: 10.xx.xx.xx
Tags: [1:E2], [2:INF], [21:EMC], [address_family:ip-v4-only], [agent:cmk-agent], [ip-v4:ip-v4], [piggyback:auto-piggyback], [site:london], [snmp_ds:no-snmp], [tcp:tcp]
Labels:
Host groups: INF, E2
Contact groups: check-mk-notify
Agent mode: Normal Checkmk agent, or special agent if configured
Type of agent:
Program: /omd/sites/london/share/check_mk/agents/special/agent_emcunity -u ‘london’ -p ‘********’ ‘10.xx.xx.xx’
Process piggyback data from /omd/sites/london/tmp/check_mk/piggyback/emchostname
Services:
checktype item params description groups
Your first output looks ok - no own special agent. But the error message in the web UI says something else. It looks like that there is something
What happens on your command line with “cmk --debug -vvn emchostname”?
OMD[canada]:~$ cmk --debug -vvn emchostname
Checkmk version 2.0.0p3
Try license usage history update.
Try aquire lock on /omd/sites/canada/var/check_mk/license_usage/next_run
Got lock on /omd/sites/canada/var/check_mk/license_usage/next_run
Try aquire lock on /omd/sites/canada/var/check_mk/license_usage/history.json
Got lock on /omd/sites/canada/var/check_mk/license_usage/history.json
Next run time has not been reached yet. Abort.
Releasing lock on /omd/sites/canada/var/check_mk/license_usage/history.json
Released lock on /omd/sites/canada/var/check_mk/license_usage/history.json
Releasing lock on /omd/sites/canada/var/check_mk/license_usage/next_run
Released lock on /omd/sites/canada/var/check_mk/license_usage/next_run
Loading autochecks from /omd/sites/canada/var/check_mk/autochecks/emchostname.mk
FETCHING DATA
Source: SourceType.HOST/FetcherType.TCP
[cpu_tracking] Start [7f9c48361a30]
Connecting via TCP to 10.xx.xx.xx:6556 (25.0s timeout)
[cpu_tracking] Stop [7f9c48361a30 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.0, children_system=0.0, elapsed=25.009999999776483))]
Try aquire lock on /omd/sites/canada/var/check_mk/crashes/base/302d8050-ac3d-11eb-966d-0050569e4447/crash.info
Got lock on /omd/sites/canada/var/check_mk/crashes/base/302d8050-ac3d-11eb-966d-0050569e4447/crash.info
Releasing lock on /omd/sites/canada/var/check_mk/crashes/base/302d8050-ac3d-11eb-966d-0050569e4447/crash.info
Released lock on /omd/sites/canada/var/check_mk/crashes/base/302d8050-ac3d-11eb-966d-0050569e4447/crash.info
Traceback (most recent call last):
File “/omd/sites/canada/bin/cmk”, line 98, in
exit_status = modes.call(“–check”, None, opts, args)
File “/omd/sites/canada/lib/python3/cmk/base/modes/init.py”, line 69, in call
return handler(*handler_args)
File “/omd/sites/canada/lib/python3/cmk/base/modes/check_mk.py”, line 1632, in mode_check
return checking.do_check(
File “/omd/sites/canada/lib/python3/cmk/base/decorator.py”, line 37, in wrapped_check_func
status, infotexts, long_infotexts, perfdata = check_func(hostname, *args, **kwargs)
File “/omd/sites/canada/lib/python3/cmk/base/checking.py”, line 195, in do_check
fetcher_messages = list(
File “/omd/sites/canada/lib/python3/cmk/base/checkers/_checkers.py”, line 246, in fetch_all
raw_data = source.fetch()
File “/omd/sites/canada/lib/python3/cmk/base/checkers/_abstract.py”, line 162, in fetch
with self._make_fetcher() as fetcher:
File “/omd/sites/canada/lib/python3/cmk/fetchers/_base.py”, line 189, in enter
self.open()
File “/omd/sites/canada/lib/python3/cmk/fetchers/tcp.py”, line 75, in open
self._socket.connect(self.address)
socket.timeout: timed out
I made some quick conversation as an pull request to the original repository mentioned from @kdeutsch
As you can read there i cannot test further as i have no access to an EMC Unity.
Hi,
I have run and compare the emcunity plugin on checkMK 1.6 and checkMK2.0.
the same plugin running as expected and also giving the same output at CLI.
But when it comes to UI , in new CheckMK all the LUN related services are showing “Check faild” emc_plugin_output.txt (2.9 KB)
If you can sent me a complete agent output as private message i can have a look what needs to be done.
The first step is done with the special agent. It is nice to hear that it is working.
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.