enabling external commands

VINAY_SHARMA at advanex.co.jp VINAY_SHARMA at advanex.co.jp
Mon Feb 6 01:48:51 CET 2006



Hi,

        Try to run nagios from command propmt or in startup file like ...
nagios start -v

after you can use your nagios.cmd file for external command.i have same
problem before.


Thanks & regards
**************************************
Vinay Sharma
Information Systems and Solutions-Associates
Advanex Inc (www.advanex.co.jp)
Fon   : 813-3822-5863
Fax         : 813-5815-7881
Email       : vinay_sharma at advanex.co.jp


                                                                                                                                                   
                      Yong Lee <ylee at neltura.com>                                                                                                  
                      送信者:                              宛先:     nagios-users at lists.sourceforge.net                                            
                      nagios-users-admin at lists.sour        cc:                                                                                     
                      ceforge.net                          件名:     [Nagios-users] enabling external commands                                     
                                                                                                                                                   
                                                                                                                                                   
                      2006/02/05 14:15                                                                                                             
                      ylee へ返信してください                                                                                                      
                                                                                                                                                   
                                                                                                                                                   




Hi all,

I hope someone can help me with a very puzzling problem.  I am trying to
enable external commands so that I can temporarily disable notifications
of a known problem.

I have the following setup in my configuration file:


check_external_commands=1
command_check_interval=1
command_file=/var/log/nagios/rw/nagios.cmd

However, everytime i want to use the disable command, I get the
message :

Sorry, but Nagios is currently not checking for external commands, so
your command will not be committed!

I am guessing that I probably have a file permission/selinux context
issue somewhere but I am having difficulty tracking this down.

Can anyone provide some clues as to what files i can look at ?

How does the cgi determine that I am do not have access to external
commands ?

Many thanks for any help you can provide,

Yong.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null







-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list