Search found 2 matches

by darran
Mon Dec 14, 2015 4:32 pm
Forum: Open Source Nagios Projects
Topic: Writing output to disk during a check
Replies: 3
Views: 945

Re: Writing output to disk during a check

I have it writing to a specific directory that is chmod 777, but it still seems that the file is unable to be written. I'm wondering if it is a JVM issue. Here is the command that is being executed via a service definition: java -jar /etc/nagios3/objects/services/gaphound/GapHound.jar '$ARG1$' '$ARG...
by darran
Fri Dec 11, 2015 4:38 pm
Forum: Open Source Nagios Projects
Topic: Writing output to disk during a check
Replies: 3
Views: 945

Writing output to disk during a check

Hello! Just getting started on the Nagios journey and have made a check that executes a jar file and then displays the output. The jar also writes a file with the same output which will be used by an event handler. The check fails when it tries to write the file on the nagios server (I'm assuming th...