Results 1 to 2 of 2

Thread: Error in Arbiter after check_mk install

  1. #1
    Junior Member
    Join Date
    Sep 2013
    Posts
    13

    Error in Arbiter after check_mk install

    Hi all.

    I might be missing something in the check_mk installation, but I canīt find the issue.

    Here is part of the /tmp/bad_start_for_arbiter file:

    Code:
    [1382041797] Error :  [items] contact.check_mk is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] contact.check_mk is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] contact.check_mk is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  contacts conf incorrect!!
    [1382041797] Info :   Checked 6 contacts
    [1382041797] Info :  Checking contactgroups...
    [1382041797] Error :  [items] contactgroup.check_mk is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] contactgroup.check_mk is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] contactgroup.check_mk is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  contactgroups conf incorrect!!
    [1382041797] Info :   Checked 5 contactgroups
    [1382041797] Info :  Checking notificationways...
    [1382041797] Error :  [items] notificationway.check_mk_inner_notificationway is duplicated from unknown
    [1382041797] Error :  [items] notificationway.check_mk_inner_notificationway is duplicated from unknown
    [1382041797] Error :  [items] notificationway.check_mk_inner_notificationway is duplicated from unknown
    [1382041797] Error :  notificationways conf incorrect!!
    [1382041797] Info :   Checked 5 notificationways
    [1382041797] Info :  Checking escalations...
    [1382041797] Info :   Checked 0 escalations
    [1382041797] Info :  Checking services...
    [1382041797] Info :   Checked 77 services
    [1382041797] Info :  Checking servicegroups...
    [1382041797] Info :   Checked 0 servicegroups
    [1382041797] Info :  Checking timeperiods...
    [1382041797] Info :   Checked 9 timeperiods
    [1382041797] Info :  Checking commands...
    [1382041797] Error :  [items] command.check-mk is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] command.check-mk-inventory is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] command.check-mk-dummy is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] command.check-mk-ping is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] command.check-mk-ping-cluster is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] command.check-mk-notify is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] command.check-mk is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] command.check-mk-inventory is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] command.check-mk-dummy is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] command.check-mk-ping is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] command.check-mk-ping-cluster is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] command.check-mk-notify is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] command.check-mk is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] command.check-mk-inventory is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] command.check-mk-dummy is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] command.check-mk-ping is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg
    [1382041797] Error :  [items] command.check-mk-ping-cluster is duplicated from /usr/local/shinken/etc/check_mk.d/check_mk_template
    Here is the configuration used:

    You have chosen the following directories:

    Code:
     Executable programs       /usr/local/check_mk
     Check_MK configuration     /usr/local/check_mk/etc
     Check_MK software        /usr/share/check_mk
     documentation          /usr/local/check_mk/share/doc
     check manuals          /usr/local/check_mk/share/doc/checks
     working directory of check_mk  /usr/local/check_mk/var/lib
     extensions for agents      /usr/local/check_mk/usr/lib/check_mk_agent
     configuration dir for agents  /usr/local/check_mk/etc
     Name of Nagios user       shinken
     User of Apache process     apache
     Common group of Nagios+Apache  apache
     Nagios binary          /usr/local/shinken/bin/nagios
     Nagios main configuration file /usr/local/shinken/etc/nagios.cfg
     Nagios object directory     /usr/local/shinken/etc/check_mk.d
     Nagios startskript       /etc/init.d/shinken
     Nagios command pipe       /usr/local/shinken/var/rw/nagios.cmd
     Check results directory     /usr/local/shinken/var/checkresults
     Nagios status file       /usr/local/shinken/var/status.dat
     Path to check_icmp       /usr/local/shinken/libexec/check_icmp
     URL Prefix for Web addons    /
     Apache config dir        //etc/httpd/conf.d
     HTTP authentication file    /usr/local/shinken/etc/htpasswd.users
     HTTP AuthName          Shinken Access
     PNP4Nagios templates      /usr/local/pnp4nagios/share/templates
     compile livestatus module    no
     Install Event Console      no
    /etc/check_mk/main.mk :

    Code:
    # Put your host names here
    all_hosts = [ 'localhost' ]
    #all_hosts = [ ]
    /etc/check_mk/multisite.mk :

    Code:
    # insert a new site pointing to Shinken and write Livestatus socket address
    
    sites = {
     "Shinken": {
       "alias":     "Shinken",
       "socket":     "tcp:127.0.0.1:50000",
       "url_prefix":   "http://cho2mon1/",
      },
    }
    Any idea what is missing?

    Regards

  2. #2
    Junior Member
    Join Date
    Sep 2013
    Posts
    13

    Re: Error in Arbiter after check_mk install

    It is working now. I renamed /usr/local/shinken/etc/check_mk.d/check_mk_templates.cfg as there is a copy in /usr/local/check_mk/share/doc/check_mk_templates.cfg

    Could anyone confirm if I did right?

    Regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •