I’m using 1.6.0p20 and I’m facing an issue when trying to implement a custom check.
The OS I’m using is a Solaris.
Meantime the agent is running well and its returning information about the agent. But when I introduce a custom script, then when I do a discover, the custom checks are not showing.
I’ve already tried to diagnose in WATO and I can see at the end of the script output the line that my custom check add, but they are not discovered.
another detail that I figured out by luck.
If I add the check_mk_agent linux version on a solaris server, the processes start to show, but all other checks do not show…
This is really strange. My OS is sunOS 5.x
I’m already thinking on installing a different agent on solaris servers in order to workaround this issue…
The issues here was that I missed the route for local plugins inside check_mk_agent.
export MK_LIBDIR=Mypath/lib
export MK_CONFDIR=Mypath/etc
export MK_VARDIR=Mypath/var
After this change it started to working as it should.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact @fayepal if you think this should be re-opened.