Monitoring question
Formoso, Travis
Travis.Formoso at blueslate.net
Wed Jan 17 18:57:44 CET 2007
> The event handler _is_ being called ("SERVICE EVENT HANDLER"). If you're
> using the example handler as is, it won't work. I'll bet you a free beer
> that the nagios user does not have permission to restart httpd via the
> init script. In cases such as this I use visudo to grant nagios
> passwordless sudo access to the script and call it from the event
> handler via 'sudo /etc/rc.d/init.d/httpd restart'.
Marc -
I am running the command line as user root (it is a virtual machine). Do I still need to set permission for the nagios user to restart httpd. If so how do I grant nagios user passwordless access? Also if it is being called SERVICE EVENT HANDLER what do I need to change this to and where?
This e-mail and any files transmitted with it are for the sole use of
Blue Slate Solutions and the intended recipient(s) and may contain
confidential and privileged information. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
or any action taken in reliance on this e-mail is strictly prohibited
and may be unlawful.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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