Search found 14 matches
- Fri Apr 24, 2015 1:16 pm
- Forum: Open Source Nagios Projects
- Topic: Faced issue with check_http
- Replies: 9
- Views: 14285
Re: Faced issue with check_http
That seems to be correct . Thanks for all your help till now [oracle@xxxxx ~]$ /usr/local/nagios/libexec/check_http -H www.getstatuscode.com -u "/502" HTTP CRITICAL: HTTP/1.1 502 Bad Gateway - 37371 bytes in 2.580 second response time |time=2.580020s;;;0.000000 size=37371B;;;0 [oracle@ecrp...
- Fri Apr 24, 2015 1:26 am
- Forum: Open Source Nagios Projects
- Topic: Faced issue with check_http
- Replies: 9
- Views: 14285
Re: Faced issue with check_http
Here is the version which we are using -
check_http v1.4.15 (nagios-plugins 1.4.15)
Can this be the issue ? How to update?
check_http v1.4.15 (nagios-plugins 1.4.15)
Can this be the issue ? How to update?
- Wed Apr 22, 2015 7:13 pm
- Forum: Open Source Nagios Projects
- Topic: Faced issue with check_http
- Replies: 9
- Views: 14285
Re: Faced issue with check_http
According to: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request. check_http should resolve 502 codes as CRITICAL: ./check_http -H www.getstatus...
- Wed Apr 22, 2015 7:03 pm
- Forum: Open Source Nagios Projects
- Topic: Faced issue with check_http
- Replies: 9
- Views: 14285
Re: Faced issue with check_http
Was it broken earlier at some point of time ? How can I verify if I am using the latest plugin of Check_http or older one ?jdalrymple wrote:I assume it's not broken now. Can you recreate the problem somehow, and if so can you curl the URL so we can check out the output?
- Wed Apr 22, 2015 1:06 pm
- Forum: Open Source Nagios Projects
- Topic: Faced issue with check_http
- Replies: 9
- Views: 14285
Faced issue with check_http
We recently faced an issue where our payment provider service was returning 502 error code , but Nagios was not able to detect and report any errors. Here are the logs application logs for that time 2015-04-12 13:44:02.410 INFO [main] [com.digi.ecommerce.cronjob.fulfillment.logic.finance.CheckPaymen...
- Wed Feb 25, 2015 3:11 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios alerting with Elasticsearch.
- Replies: 7
- Views: 7526
Re: Nagios alerting with Elasticsearch.
Thank You very much everyone. It worked perfectly.
- Wed Feb 25, 2015 1:14 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios alerting with Elasticsearch.
- Replies: 7
- Views: 7526
Re: Nagios alerting with Elasticsearch.
Maybe the following would work: #! /bin/perl use strict; use Getopt::Long; use vars qw($opt_V $opt_h $opt_w $opt_c $PROGNAME); use lib "/usr/lib/nagios/plugins" ; use utils qw(%ERRORS &print_revision &support &usage); $PROGNAME = "check_ElasticSearch"; sub print_help...
- Wed Feb 25, 2015 10:47 am
- Forum: Open Source Nagios Projects
- Topic: Nagios alerting with Elasticsearch.
- Replies: 7
- Views: 7526
Re: Nagios alerting with Elasticsearch.
Thanks rhassing! ankukreja, let us know if rhassing's solution worked for you. I would try it after some time . However I have never created any perl plugin on Nagios or somewhere before . Is there any prerequisite for this , any installations etc or should I just save this as .pl in my /user/local...
- Wed Feb 25, 2015 3:12 am
- Forum: Open Source Nagios Projects
- Topic: Nagios alerting with Elasticsearch.
- Replies: 7
- Views: 7526
Nagios alerting with Elasticsearch.
Hi , I am using ElasticSearch along with Logstash . Now I want Nagios to fire the query on ElasticSearch and fire the alert if count is greater than certain threshold. As you can see in below query , the count is coming as 31 and I want to fire alert in Nagios by hitting this curl. [root@localhost D...
- Sat Jan 31, 2015 5:43 pm
- Forum: Open Source Nagios Projects
- Topic: Fetching the list of Alerts
- Replies: 7
- Views: 3362
Re: Fetching the list of Alerts
Please suggest .