Dist. Monitoring - need help

Marc Powell marc at ena.com
Wed Jan 26 19:26:21 CET 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Chuck at BlackForest-Co.com
> Sent: Wednesday, January 26, 2005 12:56 PM
> To: Nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Dist. Monitoring - need help
> 
> I've set every thing up, the script works(via command line), but after
the
> service runs it doesn't call the submit script.
> 
> Notifications = 0
> Obsess = 1
> ocsp_command=submit_check_result
> 
> Am I missing something in the service.cfg file?


Focusing exclusively on the execution of submit_check_result and
presuming you're using 1.x, ocsp_command and obsess_over_services (not
simply 'Obsess') should be in nagios.cfg and not service.cfg. In your
service definitions or template you'll also need to set
obsess_over_service to 1 for each service result you wish to send to the
central server (probably all). Nagios must be restarted after making
these changes/additions. You should also verify that submit_check_result
can be executed by the user Nagios is running as. It's common to see
that it runs as the root user but not as the Nagios user.

Hth,

Marc



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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