Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading Centreon For Splunk
SHA256 checksum (centreon-for-splunk_11.tgz) 477044ef62ac1567f3255dfde35f854431c714385ba98231392da0459ab35875
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

Centreon For Splunk

Overview
Details
Centreon4splunk is a Splunk App for Centreon and provides several dashboard
* Host Status
* Service Status
* Downtime
* EventHandler
* Log Entry
* Metric (perfdata)
* BA Status

This app is working with Centreon >= 2.8.24 or 18.10 and use the stream connector feature to generate log.

Fork me : https://github.com/lkco/centreon4Splunk

Getting Started

  • Use stream connector to generate a log file "/var/log/centreon4splunk/centreon4splunk.log"
  • Use Universal Forwarder to monitor this log
  • Data must be forwarded into the index calling "centreon"
  • Install and use centreon4splunk app to manipulate data

Configure stream connector

On your Centreon server, run :

mkdir -p  /var/log/centreon4splunk
chown -R centreon-broker:centreon-broker /var/log/centreon4splunk
  • Copy lua script lua/centreon4splunk.lua to "/usr/share/centreon-broker/centreon4splunk.lua" on your Centreon server
  • Connect to Centreon Web UI
  • Configure the new output in "Configuration > Pollers > Broker configuration > Central Broker".
  • In Output tab select "Generic – Stream connector" and click "Add"
  • Define the name of this output and the path to the Lua connector : /usr/share/centreon-broker/centreon4splunk.lua
  • Click Save and go to generate the configuration and restart cbd daemon.

Configure Splunk Universal Forwarder

  • On your Centreon server, install and configure Universal Forwarder Splunk
  • Add an input to monitore /var/log/centreon4splunk/centreon4splunk.log, use centreon4splunk sourcetype and select centreon index

Example "inputs.conf" file :

[monitor:///var/log/centreon4splunk/centreon4splunk.log]
index = centreon
sourcetype = centreon4splunk

Installation and configuration

On your Splunk, configure a new sourcetype :

[centreon4splunk]
DATETIME_CONFIG =
TZ = Europe/Paris
NO_BINARY_CHECK = true
SEDCMD-StripHeader = s/^.*INFO: (.*$)/\1/
TIME_PREFIX="log_time":
disabled = false
pulldown_type = true
description = centreon4splunk

Advanced setting

/var/log/centreon4splunk/centreon4splunk.log file can be really be.
I advise you to configure logrotate. For example,

# vi /etc/logrotate.hourly.d/centreon4splunk
/var/log/centreon4splunk/centreon4splunk.log {
    size 256M
    rotate 12
    nocompress
    copytruncate
    missingok
    notifempty
    nocreate
    nomail 
}

Release Notes

Version 1.1
Nov. 27, 2018

1
Install
5
Downloads
Share Subscribe LOGIN TO DOWNLOAD

Subscribe Share

AppInspect Tooling

Splunk AppInspect evaluates Splunk apps against a set of Splunk-defined criteria to assess the validity and security of an app package and components.

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 50GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps and add-ons from Splunk, our partners and our community. Find an app or add-on for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
© 2005-2018 Splunk Inc. All rights reserved.
Splunk®, Splunk>®, Listen to Your Data®, The Engine for Machine Data®, Hunk®, Splunk Cloud™, Splunk Light™, SPL™ and Splunk MINT™ are trademarks and registered trademarks of Splunk Inc. in the United States and other countries. All other brand names, product names, or trademarks belong to their respective owners.