Results 1 to 2 of 2

Thread: Thruk Object Configuration error

  1. #1
    Junior Member
    Join Date
    Oct 2015
    Posts
    2

    Exclamation Thruk Object Configuration error

    hello,

    Sorry for my english

    i install shinken with thruk no problem just read wiki.

    but for backend i have some trouble:

    Code:
    enable_shinken_features = 1
    <Component Thruk::Backend>
        <peer>
            name   = External Shinken
            type   = livestatus
            <options>
                peer    = 127.0.0.01:50000
            </options>
            # Uncomment the following lines if you want to configure shinken through Thruk
            #<configtool>
            #    core_type      = shinken
            #    core_conf      = /etc/shinken/shinken.cfg//////this is probleme 
            #    obj_check_cmd  = service shinken check
            #    obj_reload_cmd = service shinken restart
            #</configtool>
        </peer>
    </Component>
    After i configure the backen like wiki a have this error on object configuration
    Code:
     	there are parse errors 	unknown object type 'module' in livestatus.cfg:8
    unexpected end of object in livestatus.cfg:21
    expected end of object in /etc/shinken/modules/livestatus.cfg:0
    unknown attribute: reactionner_tag for object type command in notify-service-by-android-sms.cfg:3
    unknown attribute: module_type for object type command in notify-service-by-android-sms.cfg:3
    syntax invalid: '$USER1$=$NAGIOSPLUGINSDIR$' in paths.cfg:2
    syntax invalid: '$NAGIOSPLUGINSDIR$=/usr/lib/nagios/plugins' in paths.cfg:3
    syntax invalid: '$PLUGINSDIR$=/var/lib/shinken/libexec' in paths.cfg:6
    unknown object type 'broker' in broker-master.cfg:15
    unexpected end of object in broker-master.cfg:49
    expected end of object in /etc/shinken/brokers/broker-master.cfg:0
    unknown attribute: password for object type contact in guest.cfg:4
    unknown object type 'notificationway' in detailled-email.cfg:2
    unexpected end of object in detailled-email.cfg:11
    expected end of object in /etc/shinken/notificationways/detailled-email.cfg:0
    syntax invalid: '$DOMAIN$=MYDOMAIN' in active-directory.cfg:2
    syntax invalid: '$DOMAINUSERSHORT$=shinken_user' in active-directory.cfg:3
    syntax invalid: '$DOMAINUSER$=$DOMAIN$\\$DOMAINUSERSHORT$' in active-directory.cfg:4
    syntax invalid: '$DOMAINPASSWORD$=superpassword' in active-directory.cfg:5
    syntax invalid: '$LDAPBASE$=dc=eu,dc=society,dc=com' in active-directory.cfg:6
    unknown object type 'reactionner' in reactionner-master.cfg:9
    unexpected end of object in reactionner-master.cfg:39
    expected end of object in /etc/shinken/reactionners/reactionner-master.cfg:0
    unknown object type 'poller' in poller-master.cfg:9
    unexpected end of object in poller-master.cfg:51
    expected end of object in /etc/shinken/pollers/poller-master.cfg:0
    unknown attribute: reactionner_tag for object type command in notify-host-by-android-sms.cfg:4
    unknown attribute: module_type for object type command in notify-host-by-android-sms.cfg:4
    unknown object type 'module' in sample.cfg:2
    unexpected end of object in sample.cfg:7
    expected end of object in /etc/shinken/modules/sample.cfg:0
    unknown object type 'reactionner' in reactionner-android-sms.cfg:11
    unexpected end of object in reactionner-android-sms.cfg:30
    expected end of object in /etc/shinken/reactionners/reactionner-android-sms.cfg:0
    unknown attribute: notificationways for object type contact in generic-contact.cfg:3
    unknown attribute: is_admin for object type contact in admin.cfg:4
    unknown attribute: expert for object type contact in admin.cfg:4
    unknown attribute: password for object type contact in admin.cfg:4
    unknown object type 'notificationway' in sms-android.cfg:3
    unexpected end of object in sms-android.cfg:11
    expected end of object in /etc/shinken/notificationways/sms-android.cfg:0
    unknown object type 'receiver' in receiver-master.cfg:7
    unexpected end of object in receiver-master.cfg:37
    expected end of object in /etc/shinken/receivers/receiver-master.cfg:0
    unknown object type 'arbiter' in arbiter-master.cfg:13
    unexpected end of object in arbiter-master.cfg:51
    expected end of object in /etc/shinken/arbiters/arbiter-master.cfg:0
    unknown object type 'module' in logstore_sqlite.cfg:4
    unexpected end of object in logstore_sqlite.cfg:19
    expected end of object in /etc/shinken/modules/logstore_sqlite.cfg:0
    syntax invalid: '$NMAPTARGETS$=www.google.fr www.bing.com' in nmap.cfg:2
    syntax invalid: '$NMAPMINRATE$=1000' in nmap.cfg:5
    syntax invalid: '$NMAPMAXRETRIES$=3' in nmap.cfg:6
    unknown object type 'notificationway' in email.cfg:2
    unexpected end of object in email.cfg:10
    expected end of object in /etc/shinken/notificationways/email.cfg:0
    unknown object type 'realm' in all.cfg:3
    unexpected end of object in all.cfg:6
    expected end of object in /etc/shinken/realms/all.cfg:0
    syntax invalid: '$SNMPCOMMUNITYREAD$=public' in snmp.cfg:2
    unknown object type 'scheduler' in scheduler-master.cfg:14
    unexpected end of object in scheduler-master.cfg:53
    expected end of object in /etc/shinken/schedulers/scheduler-master.cfg:0
    I don t know why .

    if i change the path with /etc/shinken/hosts/host.conf for example i can't create new host.

    thank for you help
    best regard

  2. #2
    Junior Member
    Join Date
    Aug 2019
    Posts
    1
    Object configuring error is detected with the support of the technological experts. The reflection of the https://www.resumeshelpservice.com/p...-co-uk-review/ for the intense elements for the humans. The reflection is essential for the partial items for the future times.

Posting Permissions

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