Search found 2 matches

by ayushSid
Tue Apr 18, 2017 12:26 am
Forum: Open Source Nagios Projects
Topic: Custom Nagios check works on CLI but not properly on web UI
Replies: 3
Views: 3334

Re: Custom Nagios check works on CLI but not properly on web

jfrickson wrote:You probably need to use either the full path or a relative path to your output file.
Thanks, it works like a charm now!
by ayushSid
Mon Apr 17, 2017 9:46 am
Forum: Open Source Nagios Projects
Topic: Custom Nagios check works on CLI but not properly on web UI
Replies: 3
Views: 3334

Custom Nagios check works on CLI but not properly on web UI

Hi all, I am trying to create a custom nagios check plugin using Bash Script which reads data from a file and accordingly returns the exit code to the Nagios. #!/bin/bash # script will check for the value of 'calculatedstatus' from the file cat output | grep -A 1 -i "calculatedStatus" >> t...