0.0
No release in over 3 years
Low commit activity in last 3 years
Splunk monitoring in Nagios
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

 Project Readme
= Nagios::Splunk
Nagios splunk plugin allows to check splunk license usage

== API

client = Nagios::Splunk::RestClient.new("http://admin:changeme@localhost:8089/")
splunk = Nagios::Splunk::Check.new(client)

warn = 80 # 80%
crit = 90 # 90%

splunk.license_usage(warn, crit) # => "License OK: 50% of license capacity is used | quota: 500 MB; used: 250 MB"

== Usage:

$ check_splunk -s http://admin:changeme@localhost:8089/ -w 60 -c 80
"License OK: 50% of license capacity is used | quota: 500 MB; used: 250 MB"
$ echo $?
0