CMK version:
2.2.0p25.cce
OS version:
Ubuntu 22.04.4 LTS
Error message:
Custom check mk agent plugin is not discovered
I have custom plugins on my remote host:
ls -lR /usr/lib/check_mk_agent/plugins/
/usr/lib/check_mk_agent/plugins/:
total 38
drwxr-xr-x 2 root root 4 Apr 26 15:13 3600
-rwxr-xr-x 1 root root 91 Apr 24 08:52 icecast_archive_status.sh
-rwxr-xr-x 1 root root 86 Apr 24 10:15 icecast_listeners.sh
-rwxr-xr-x 1 root root 89 Apr 24 08:52 icecast_loops_status.sh
-rwxr-xr-x 1 root root 89 Apr 24 08:51 icecast_radio_status.sh
-rwxr-xr-x 1 root root 56735 Apr 19 11:56 mk_postgres.py
-rwxr-xr-x 1 root root 6302 Apr 26 16:04 nginx_status.py
/usr/lib/check_mk_agent/plugins/3600:
total 18
-rwxr-xr-x 1 root root 108 Apr 26 14:46 borgmatic_archive_stats.sh
-rwxr-xr-x 1 root root 108 Apr 26 14:46 borgmatic_backups_stats.sh
and i have two issues:
- plugins under
plugins/3600
folder are not discovered nginx_status.py
plugin workd well, but when i added plugins in3600
folder, it is also missing in Service discovery
plugins working well, here are outputs:
root@vps:/usr/lib/check_mk_agent/plugins# ./nginx_status.py
<<<nginx_status>>>
radiopunctum.cz 443 Active connections: 5
radiopunctum.cz 443 server accepts handled requests
radiopunctum.cz 443 14792 14792 57358
radiopunctum.cz 443 Reading: 0 Writing: 2 Waiting: 3
root@vps:/usr/lib/check_mk_agent/plugins# ./3600/borgmatic_archive_stats.sh
0 "Borgmatic[archive]" num_of_files=1839|duration=2.0 Borgmatic backup status of archive
root@vps:/usr/lib/check_mk_agent/plugins# ./3600/borgmatic_backups_stats.sh
0 "Borgmatic[backups]" num_of_files=7433|duration=56.0 Borgmatic backup status of backups
have somebody any advice, why 3600
plugins are not discovered and why nginx_status.py
plugin disappeared?