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??
Commands are not added in commands.cfg from CCM
-
absarcompass
- Posts: 182
- Joined: Thu May 14, 2015 9:57 pm
Re: Commands are not added in commands.cfg from CCM
You'll need to add them to the commands.cfg file, using the CCM. The drop down does not look for all plugins that are in a directory, instead it looks at your commands.cfg, and loads commands based on those. Does this make sense?
Former Nagios Employee.
me.
me.
-
absarcompass
- Posts: 182
- Joined: Thu May 14, 2015 9:57 pm
Re: Commands are not added in commands.cfg from CCM
Thanks hsmith 
yes figured that out later.
yes figured that out later.
Re: Commands are not added in commands.cfg from CCM
Did you have any more questions, or am I good to mark this as resolved?
Former Nagios Employee
-
absarcompass
- Posts: 182
- Joined: Thu May 14, 2015 9:57 pm
Re: Commands are not added in commands.cfg from CCM
Yup!
That's resolved now.
Thanks
That's resolved now.
Thanks