Refine your search:

After downloading the Splunk2Nagios add-on and testing the check_splunk script, I'm receiving the following url, which the script produces and no results are returned when I run this at the command-line:


./check_splunk search "sshd failed" -u admin -p changeme -c 2 -w 1


which produces this URL:

https://maverick.splunk.com:8000/en-US/app/launcher/home:8000/?q=sshd%20failed%20-u%20admin%20-p%20changeme%20-c%202%20-w%201

When I paste this into the web browser, I'm getting the following error:


Secure Connection Failed
An error occurred during a connection to maverick.splunk.com:9000.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)


I am thinking that since the check_splunk script was created for Splunk v3.x and not for v4.x, the request url being generated is incorrect and needs to be updated to work with Splunk v4.x.

Can someone verify that this is a correct assessment, and/or let me know if they've figured out how to get this to work with v4.x?

asked 21 Jul '10, 14:12

maverick's gravatar image

maverick ♦
2.5k3455
accept rate: 14%


One Answer:

Are you actually running SplunkWeb over SSL?

What happens when you change https:// to http:// ?

link

answered 22 Jul '10, 20:35

the_wolverine's gravatar image

the_wolverine ♦
4.2k3729
accept rate: 51%

I get "Invalid view name requested: "home:8000". View names may only contain alphanumeric characters."

(22 Jul '10, 21:04) maverick ♦

ssl_error_rx_record_too_long is the response I get when I use https on a port that doesn't use SSL.

(11 Jan, 05:37) skojt
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×209
×13
×10

Asked: 21 Jul '10, 14:12

Seen: 956 times

Last updated: 11 Jan, 05:37

Copyright © 2005-2012 Splunk, Inc. All rights reserved.