Announcement

Collapse
No announcement yet.

costom data in centreon_storage database

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • costom data in centreon_storage database

    We have exposed our application stats thro' Mbean and can be accessible via jmx.

    Now we want to write an agent which will pick this data from Mbean and put it into centreon_storage database. where we will create another tables to hold this data.

    essentially we want to bi-pass Nagios engine, plugin and possibly NDOUtils.


    Please suggest a better way to achieve it.

  • #2
    I don't understand why you want to bi-pass Nagios engine, plugin and possibly NDOUtils and why you want to store data into centreon_storage database. What is your goal ?
    Centreon Syslog Module Manager/Developper
    Centreon E2S Module Manager/Developper
    Centreon Enterprise Server (2.x / 3.x) : Centreon Engine 1.3.x / 1.4.x, Centreon Broker 2.6.x / 2.8.x , Centreon 2.x, Centreon-Syslog 1.5.x, Centreon E2S 2.0
    Nagios 3.x et NDOutil 1.x

    Comment


    • #3
      Earlier we tried using check_jmx plugin. But the problem is we have a lot of data to be transferred and check_jmx plugin transfers this data as a single chunk. This data has different information separated by a special characters (for ex. &).

      Now the thing is we don’t want to develop custom plugin.

      “why you want to store data into centreon_storage database.” - We are developing a custom module for centreon web application. This module will display all the information sent by Agent. We understand that the centreon web application picks the data from centreon_storage database to display in its web application.

      Hence the Agent will store the application stats in centreon_storage database and the custom module will display this data on the page.

      Hope this answers your queries.

      Comment


      • #4
        OK I understand your needs.

        You have to create new databases tables in centreon_storage for your module like "mod_mymodulename_mytablename".

        If your agent is written in PHP you can use /etc/centreon/centreon.conf.php to get information to access to DB. If you use Perl you can use /etc/centreon/conf.pm

        Please have a look here : http://documentation.centreon.com/do...ghlight=module
        Centreon Syslog Module Manager/Developper
        Centreon E2S Module Manager/Developper
        Centreon Enterprise Server (2.x / 3.x) : Centreon Engine 1.3.x / 1.4.x, Centreon Broker 2.6.x / 2.8.x , Centreon 2.x, Centreon-Syslog 1.5.x, Centreon E2S 2.0
        Nagios 3.x et NDOutil 1.x

        Comment

        Working...
        X