Commands are not added in commands.cfg from CCM
Posted: Tue Feb 02, 2016 10:29 pm
Hi All,
I was trying to setup ntp checks and found the plugins in /usr/local/nagios/libexec/
"check_ntp
check_ntp_peer
check_ntp_time"
I can see these three in the /usr/local/nagios/libexec/ directory with permissions "-rwxrwxr-x 1 apache nagios" but when I am trying to setup the service none of them are being shown on web in check command drop down menu.
I have checked the commands.cfg at directory "/usr/local/nagios/etc/commands.cfg" and these three are not added as commands in the commands.cfg
I have tried moving them to /tmp and copy back with setting the permissions again but they are not added.
Can any one help me in this regard, why possibly they are not getting there??
I was trying to setup ntp checks and found the plugins in /usr/local/nagios/libexec/
"check_ntp
check_ntp_peer
check_ntp_time"
I can see these three in the /usr/local/nagios/libexec/ directory with permissions "-rwxrwxr-x 1 apache nagios" but when I am trying to setup the service none of them are being shown on web in check command drop down menu.
I have checked the commands.cfg at directory "/usr/local/nagios/etc/commands.cfg" and these three are not added as commands in the commands.cfg
I have tried moving them to /tmp and copy back with setting the permissions again but they are not added.
Can any one help me in this regard, why possibly they are not getting there??