Search found 33 matches

by mitchsmith
Mon Apr 23, 2012 9:50 am
Forum: Nagios XI
Topic: NSCA ocsp command not executing
Replies: 16
Views: 3209

Re: NSCA ocsp command not executing

Hi, there are no environmental variables used for this command, I have even removed the $USER2$ nagios rescource variable and used a full path to the command. I think there has to be something preventing this being executed via nagios. This command / config works in other distributed enviroments wit...
by mitchsmith
Mon Apr 23, 2012 9:22 am
Forum: Nagios XI
Topic: NSCA ocsp command not executing
Replies: 16
Views: 3209

Re: NSCA ocsp command not executing

Hi, The Permissions are -rwxr-xr-x 1 nagios nagios 453 Apr 20 11:39 submit_service_check I can run this manually as the nagios user: [nagios@nagioshost eventhandlers]$ /usr/local/nagios/libexec/eventhandlers/submit_service_check "helloCWPtest" "test" 1 "TESTING MITCHELL \| H...
by mitchsmith
Fri Apr 20, 2012 3:52 pm
Forum: Nagios XI
Topic: NSCA ocsp command not executing
Replies: 16
Views: 3209

Re: NSCA ocsp command not executing

I tried editing the submit_service_check command to in nagios to use test data opposed to values: $USER1$/eventhandlers/submit_service_check "HOST1" "FAKESERVICE" 1 "Some Output Description" I also added a logger line to the submit_service_check to write to a file when ...
by mitchsmith
Fri Apr 20, 2012 3:12 pm
Forum: Nagios XI
Topic: NSCA ocsp command not executing
Replies: 16
Views: 3209

Re: NSCA ocsp command not executing

Hi, If i execute from the command line the submit script executes: [nagios@nagiosrem oc102]$ /usr/local/nagios/libexec/eventhandlers/submit_service_check "hellotest" "test" 1 "TESTING MITCHELL" 1 data packet(s) sent to host successfully. [nagios@nagiosrem oc102]$ I have...
by mitchsmith
Fri Apr 20, 2012 2:56 pm
Forum: Nagios XI
Topic: NSCA ocsp command not executing
Replies: 16
Views: 3209

Re: NSCA ocsp command not executing

hi,

yes obsess_over_service is on
by mitchsmith
Fri Apr 20, 2012 2:41 pm
Forum: Nagios XI
Topic: NSCA ocsp command not executing
Replies: 16
Views: 3209

Re: NSCA ocsp command not executing

thanks for your reply.

I have set obsess_over_services=1

But this has not resolved the issue, the command is still not executed.
by mitchsmith
Fri Apr 20, 2012 11:45 am
Forum: Nagios XI
Topic: NSCA ocsp command not executing
Replies: 16
Views: 3209

NSCA ocsp command not executing

Hi, I have an XI installation in which I am trying to get a subset of checks to send results to a central nagios instance using NSCA. In the check settings obsess_over_service is set to on. And the ocsp command is defined. However appears to not execute. submit_service_check command $USER1$/eventhan...
by mitchsmith
Fri Mar 23, 2012 3:59 am
Forum: Open Source Nagios Projects
Topic: Nagios Core & Nagios XI Compatability Distributed
Replies: 1
Views: 855

Nagios Core & Nagios XI Compatability Distributed

hi,

I operate a distributed monitoring system using NSCA with nagios core.

One of the locations I monitor have a configured XI instance.

Is it possible to 'drop' my configuration files in to this environment, in the same manner I would with a Nagios Core Instance?

Thanks
Mitchell
by mitchsmith
Thu Nov 17, 2011 5:40 pm
Forum: Open Source Nagios Projects
Topic: Inheriting from multiple templates - notification probems
Replies: 3
Views: 1390

Re: Inheriting from multiple templates - notification probem

Thanks, The append should solve the issue. I know this approach seems complicated, and admit its not the best approach. But due to the distribution of the applications monitored, for different locations, some of which are the same checks, for different locations, this is the most effective template ...
by mitchsmith
Thu Nov 17, 2011 11:17 am
Forum: Open Source Nagios Projects
Topic: Inheriting from multiple templates - notification probems
Replies: 3
Views: 1390

Inheriting from multiple templates - notification probems

Due to the scale of my moitoring, I implement and inherit from a 3 templates for every service check (difering depending on the location, check type, and the template for a particular service check. Below is an example: define service{ name chk-bkgnd-jobs service_description check-background-jobs ch...