Skip to content

Check the current licensed usage of a Splunk server instance from Nagios.

License

Notifications You must be signed in to change notification settings

troyjohnson/check_splunk_license

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

check_splunk_license
--------------------
A Nagios check reporting the current licensed usage of a Splunk server
in megabytes.

Requirements:
   1) a standard working Perl installation
   2) a local Splunk installation (server or forwarder)

The Nagios 'check' script:

   check_splunk_license.pl

Place it with the other Nagios checks (directory usually set in $USER1$).

Find more information about what the check is supposed to do here:

  http://wiki.splunk.com/Community:TroubleshootingIndexedDataVolume
  http://docs.splunk.com/Documentation/Splunk/latest/Installation/AboutSplunklicenses#View_your_license_and_usage_details

Example Configuration Files
---------------------------
The Nagios 'command' configuration:

   nagios/check_splunk_license.cfg

Configuration for the read protected (usually mode 600) Nagios include file:

   nagios/resource.cfg

An example service configuration:

   nagios/mysplunkserver.cfg

Some configuration options for the 'nagiosgraph' package:

   nagiosgrapher/check_splunk_license.ncfg
   nagiosgrapher/alternative_check_splunk_license.ncfg

License
-------
For now I am attaching the GPL to the code, but please let me know 
if you want another one.

   LICENSE

-- Troy Johnson <troy@jdmz.net>