Search found 7 matches

by jraj90
Thu Aug 20, 2015 3:31 am
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 guys,

Thank you for all the responses and help.

Finally I got it working by adding "-T 'application/json'" in the request.

Regards,
- Jaya -
by jraj90
Tue Aug 18, 2015 11:32 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 ssax, I have tried posting using the output from both the websites you provided and the outcome is the same as before:- ./check_http -H test.com -S -k 'Authorization: Bearer fdb6ffsdfdfseerwcxvxcvcvx' -u '/smsmessaging/v1/outbound/212830/requests' --method=POST --post='{\"outboundSMSMessageR...
by jraj90
Tue Aug 18, 2015 5:34 am
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 tmcdonald, I am performing checks using the check_http plugin to an API service. It requires a POST method sending data in JSON. Here is the requests and respond using check_http. Check command using the exact JSON Data:- ./check_http -H test.com -S -k 'Authorization: Bearer fdb6f896xvxvxvxvxvxvx...
by jraj90
Mon Aug 17, 2015 3:44 am
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 guys,

I am also facing similar problem trying to post JSON using the check_http plugin.

Did anyone manage to resolve this ? May I know if this is solved.

Thanks

Regards,
- jay -
by jraj90
Mon Mar 03, 2014 3:54 am
Forum: Nagios XI
Topic: Nagios AWS AMI + AWS_Cloudwatch metrics
Replies: 5
Views: 2390

Re: Nagios AWS AMI + AWS_Cloudwatch metrics

Hi guys,

thx everyone for their input. I managed to solve the problem by fixing the ruby. Initially i used RVM to manage my rubies and somehow that didnt seem to work. I got rid of that, and installed ruby using 'yum' and that seem to have solved my problem
by jraj90
Thu Feb 27, 2014 11:23 pm
Forum: Nagios XI
Topic: Nagios AWS AMI + AWS_Cloudwatch metrics
Replies: 5
Views: 2390

Re: Nagios AWS AMI + AWS_Cloudwatch metrics

yes i did upload it using the web ui initially the permission was owner=apache group=apache that didnt work..so i changed the permission to match the rest on of the plugins in that directory the second file u asked for permission i believe is the cfg file? The encrypt is just a scripts that encrypts...
by jraj90
Thu Feb 27, 2014 2:43 am
Forum: Nagios XI
Topic: Nagios AWS AMI + AWS_Cloudwatch metrics
Replies: 5
Views: 2390

Nagios AWS AMI + AWS_Cloudwatch metrics

Hi, I've just spun up a Nagios instance using the pre-configured AMI which is available on the AWS (http://assets.nagios.com/downloads/nagiosxi/docs/Using_Nagios_XI_In_Amazon_EC2_Cloud.pdf) I got this running and configured, and its working great. Next, I am trying to integrate nagios with the AWS c...