Search found 8 matches
- Thu Jan 08, 2015 1:54 am
- Forum: Open Source Nagios Projects
- Topic: How to show multi-line of output using check_logfiles
- Replies: 17
- Views: 8334
Re: How to show multi-line of output using check_logfiles
Great! I will try that out. Thanks Box293
- Wed Jan 07, 2015 4:39 pm
- Forum: Open Source Nagios Projects
- Topic: How to show multi-line of output using check_logfiles
- Replies: 17
- Views: 8334
Re: How to show multi-line of output using check_logfiles
Sorry for delayed response. I think there is a limit on the amount of data that can be transferred by nrpe (about 1KB). If the data exceeds than the limit for a particular check then the data is chopped off.. The best that can be done is to use $options = 'report=long'; in the log monitoring configu...
- Tue Jan 06, 2015 6:22 pm
- Forum: Open Source Nagios Projects
- Topic: How to post json with check_http
- Replies: 13
- Views: 26656
Re: How to post json with check_http
Thanks for your prompt response sreinhardt. I tried using the single quote ' ' for the POST string but that gives me the same error. I try the same thing using curl command and it gives me the expected JSON response. Basically, I want to make sure that the service URL is live and up and monitor the ...
- Tue Jan 06, 2015 2:22 pm
- Forum: Open Source Nagios Projects
- Topic: How to post json with check_http
- Replies: 13
- Views: 26656
Re: How to post json with check_http
Hi, I am trying to POST JSON string in the check_http command as follows: /usr/local/nagios/libexec/check_http -H localhost -p 8080 -u /service/storestatus -T "Content-Type:application/json" -k "API_KEY: 0XXX" -j POST --post="{\"store_id\":\"1953\"}"...
- Thu Nov 06, 2014 7:26 pm
- Forum: Open Source Nagios Projects
- Topic: How to show multi-line of output using check_logfiles
- Replies: 17
- Views: 8334
Re: How to show multi-line of output using check_logfiles
Spenser,
I tried to run the command in the CLI of the monitored host and it works well. All the errors are being displayed on the screen.
So, basically it works fine on the CLI on the monitored host. But in the email notification some error lines are chopped out..
Thanks
I tried to run the command in the CLI of the monitored host and it works well. All the errors are being displayed on the screen.
So, basically it works fine on the CLI on the monitored host. But in the email notification some error lines are chopped out..
Thanks
- Thu Nov 06, 2014 3:30 pm
- Forum: Open Source Nagios Projects
- Topic: How to show multi-line of output using check_logfiles
- Replies: 17
- Views: 8334
Re: How to show multi-line of output using check_logfiles
I am using the following versions:
Nagios Core 4.0.1
Nagios-plugins-1.5
NRPE-2.15
check_logfiles (plugin)-3.6.2.1
Thanks
Nagios Core 4.0.1
Nagios-plugins-1.5
NRPE-2.15
check_logfiles (plugin)-3.6.2.1
Thanks
- Thu Nov 06, 2014 2:16 pm
- Forum: Open Source Nagios Projects
- Topic: How to show multi-line of output using check_logfiles
- Replies: 17
- Views: 8334
Re: How to show multi-line of output using check_logfiles
Hi,
I am having the same issue. Was this one resolved?
I tried the $SERVICEOUTPUT$ $LONGSERVICEOUTPUT$ but I am still not receiving all the errors in the email.
Thanks
I am having the same issue. Was this one resolved?
I tried the $SERVICEOUTPUT$ $LONGSERVICEOUTPUT$ but I am still not receiving all the errors in the email.
Thanks
- Tue Oct 28, 2014 2:59 pm
- Forum: Open Source Nagios Projects
- Topic: Notification ==> notifications.cgi
- Replies: 6
- Views: 2734
Re: Notification ==> notifications.cgi
Was this issue resolved? I am having a similar issue. I am receiving email notifications for each host and service except one service. This is the 'Log Monitoring' service that I have defined. The Nagios GUI shows CRITICAL but I receive no email for the same. Also, the CRITICAL state changes to OK i...