Search found 5 matches

by saiyen2002
Mon Jul 18, 2016 3:54 am
Forum: Open Source Nagios Projects
Topic: command line check returns OK, GUI returns Warning
Replies: 4
Views: 2219

command line check returns OK, GUI returns Warning

I am using Nagios Core 3.5.1 on Ubuntu 14.04.2 LTS. I have created a http check for a site and tested on the command line which returns me OK status. I am expecting a http 400 and body to be 'Malformed' # /usr/lib/nagios/plugins/check_http --ssl -H example.co.uk -u /rpc/json.php -s 'Malformed' -e 40...
by saiyen2002
Mon May 23, 2016 4:37 am
Forum: Open Source Nagios Projects
Topic: where does event handler script echo log to
Replies: 5
Views: 3255

Re: where does event handler script echo log to

ok, so it was permission with the file.

Thanks for your help rkennedy.
by saiyen2002
Fri May 20, 2016 9:01 am
Forum: Open Source Nagios Projects
Topic: where does event handler script echo log to
Replies: 5
Views: 3255

Re: where does event handler script echo log to

If I manually execute the event handler script from the command line, it does log to /tmp/eventhandler if Nagios runs the event handler, script gets executed, but nothing gets logged to /tmp/eventhandler. I am trying to log to /tmp/eventhandlers. Also, if by default the logging doesn't go anywhere, ...
by saiyen2002
Thu May 19, 2016 4:14 am
Forum: Open Source Nagios Projects
Topic: where does event handler script echo log to
Replies: 5
Views: 3255

where does event handler script echo log to

following the nagios documentation, i have setup my first event handler. I used the script that is on the doc page here https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/eventhandlers.html, to help me write my own. One thing that I am trying to do is to log to a file from the scrip...