Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- define module {
- modules Apache_passwd,ActiveDir_UI,Cfg_password,PNP_UI,Mongodb
- manage_acl 1
- play_sound 0
- host 0.0.0.0
- module_type webui
- allow_html_output 0
- max_output_length 100
- module_name WebUI
- auth_secret CHANGE_ME
- port 7767
- }
- define module {
- username user
- basedn DC=google,DC=com
- module_type ad_webui
- mode ad
- module_name ActiveDir_UI
- password password
- }
- define module {
- username user
- basedn DC=google,DC=com
- module_type openldap_webui
- module_name OpenLDAP_UI
- password password
- }
- define module {
- passwd /usr/local/shinken/etc/htpasswd.users
- module_name Apache_passwd
- module_type passwd_webui
- }
- define module {
- module_name Graphite-Perfdata
- host localhost
- module_type graphite_perfdata
- port 2003
- }
- define module {
- module_name GRAPHITE_UI
- module_type graphite_webui
- uri http://YOURSERVERNAME/
- templates_path /usr/local/shinken/share/templates/graphite/
- }
- define module {
- module_name PNP_UI
- module_type pnp_webui
- uri http://YOURSERVERNAME/pnp4nagios/
- }
- define module {
- synchronise_database_id 0
- database ndo
- prefix nagios_
- port 3306
- host localhost
- module_type ndodb_mysql
- user root
- module_name ToNdodb_Mysql
- password root
- character_set utf8
- }
- define module {
- oracle_home /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
- database XE
- module_type ndodb_oracle
- user system
- module_name ToNdodb_Oracle
- password password
- }
- define module {
- database merlin
- host localhost
- module_type merlindb
- user root
- module_name ToMerlindb_Mysql
- password root
- character_set utf8
- backend mysql
- }
- define module {
- modules logsqlite
- host *
- module_type livestatus
- module_name Livestatus
- port 50000
- }
- define module {
- max_logs_age 3m
- module_name logsqlite
- module_type logstore_sqlite
- database_file /usr/local/shinken/var/livelogs.db
- }
- define module {
- module_name mongologs
- module_type logstore_mongodb
- mongodb_uri mongodb://localhost/?safe=true
- }
- define module {
- module_name nulllogs
- module_type logstore_null
- }
- define module {
- module_name NPCDMOD
- module_type npcdmod
- config_file /usr/local/pnp4nagios/etc/npcd.cfg
- }
- define module {
- password guest
- maxqueuelength 50000
- exchange_name canopsis.events
- host localhost
- module_type canopsis
- user guest
- virtual_host canopsis
- module_name Canopsis
- identifier shinken-1
- port 5672
- queue_dump_frequency 300
- }
- define module {
- module_name MongodbRetention
- module_type mongodb_retention
- uri mongodb://localhost/?safe=true
- database shinken
- }
- define module {
- module_name MemcacheRetention
- module_type memcache_retention
- port 11211
- server 127.0.0.1
- }
- define module {
- module_name RedisRetention
- module_type redis_retention
- server 127.0.0.1
- }
- define module {
- uri http://localhost/glpi/plugins/webservices/xmlrpc.php
- tag
- module_type glpi
- login_password glpi
- module_name GLPI
- login_name glpi
- }
- define module {
- database glpi
- host localhost
- module_type glpidb
- user root
- module_name glpidb
- password root
- }
- define module {
- module_name Mongodb
- module_type mongodb
- uri mongodb://localhost/?safe=true
- database shinken
- }
- define module {
- module_name SQLitedb
- module_type sqlitedb
- uri /usr/local/shinken/var/webui.db
- }
- define module {
- encryption_method 1
- host *
- module_type nsca_server
- module_name NSCA
- password helloworld
- port 5667
- }
- define module {
- module_name TSCA
- host *
- module_type tsca_server
- port 9090
- }
- define module {
- username anonymous
- host 0.0.0.0
- module_type ws_arbiter
- module_name WS_Arbiter
- port 7760
- }
- define module {
- mapping_file /tmp/vmware_mapping_file.json
- module_type hot_dependencies
- mapping_command_timeout 300
- mapping_command_interval 60
- module_name VMWare_auto_linking
- mapping_command /usr/local/shinken/libexec/link_vmware_host_vm.py -x '/usr/local/shinken/libexec/check_esx3.pl' -V 'vcenter.mydomain.com' -u 'admin' -p 'secret' -r 'lower|nofqdn' -o /tmp/vmware_mapping_file.json
- }
- define module {
- mapping_file /tmp/external_mapping_file.json
- module_type hot_dependencies
- mapping_command_timeout 300
- mapping_command_interval 60
- module_name External_auto_linking
- mapping_command /usr/local/shinken/libexec/external_mapping.py -i /tmp/shinken_flat_mapping -o /tmp/external_mapping_file.json
- }
- define module {
- module_name HackCommandsPollerTag
- module_type hack_commands_poller_tag
- cmd_line_match (.*)check_esx3(.*)
- poller_tag esx3
- }
- define module {
- host_macro_name _poller_tag
- module_name HackPollerTagByMacros
- service_macro_name _poller_tag
- module_type hack_poller_tag_by_macros
- }
- define module {
- reqreactionners SELECT reactionner_name, address, port, spare, realm, manage_sub_realms, modules FROM reactionners
- reqhosts SELECT host_name, alias, realm, address, template AS 'use' FROM hosts
- password pass
- reqservices SELECT host_name, service_description, normal_check_interval, check_command, template AS 'use' FROM services
- reqservicedependencies SELECT host_name, service_description, dependent_host_name, dependent_service_description, execution_failure_criteria, notification_failure_criteria FROM servicedependencies
- database supervision
- reqbrokers SELECT broker_name, address, port, spare, realm, manage_sub_realms, modules FROM brokers
- reqhostdependencies SELECT host_name, dependent_host_name, notification_failure_criteria FROM hostdependencies
- reqpollers SELECT poller_name, address, port, spare, realm, manage_sub_realms, poller_tags, modules FROM pollers
- reqrealms SELECT realm_name, realm_members, `default` FROM realms
- host localhost
- module_type mysql_import
- module_name MySQLImport
- reqcontactgroups SELECT contactgroup_name, members FROM contactgroups
- login root
- reqschedulers SELECT scheduler_name, address, port, spare, realm, modules FROM schedulers
- reqcontacts SELECT contact_name, email, template AS 'use' FROM contacts
- reqreceivers SELECT receiver_name, address, port, spare, realm, manage_sub_realms, modules FROM receivers
- }
- define module {
- value LOCAL
- module_type ip_tag
- ip_range 127.0.0.0/30
- module_name IpTag
- property poller_tag
- method replace
- }
- define module {
- archive_path archives/
- module_name Simple-log
- module_type simple_log
- path nagios.log
- }
- define module {
- status_update_interval 15
- object_cache_file objects.cache
- module_type status_dat
- status_file status.dat
- module_name Status-Dat
- }
- define module {
- module_name Service-Perfdata
- module_type service_perfdata
- path service-perfdata
- }
- define module {
- module_name Host-Perfdata
- module_type host_perfdata
- path host-perfdata
- }
- define module {
- module_name PickleRetention
- module_type pickle_retention_file_generic
- path /tmp/retention.dat
- }
- define module {
- module_name PickleRetentionBroker
- module_type pickle_retention_file_generic
- path /tmp/retention_broker.dat
- }
- define module {
- module_name PickleRetentionArbiter
- module_type pickle_retention_file_generic
- path /tmp/retention_arbiter.dat
- }
- define module {
- module_name NagiosRetention
- module_type nagios_retention_file
- path /tmp/retention-nagios.dat
- }
- define module {
- command_file rw/nagios.cmd
- module_name CommandFile
- module_type named_pipe
- }
- define module {
- module_name NrpeBooster
- module_type nrpe_poller
- }
- define module {
- module_name Syslog
- module_type syslog
- }
- define module {
- module_name Cfg_password
- module_type cfg_password_webui
- }
- define module {
- module_name AndroidSMS
- module_type android_sms
- }
- define poller {
- poller_name poller-1
- data_timeout 120
- timeout 3
- address localhost
- modules
- port 7771
- manage_sub_realms 0
- max_workers 0
- check_interval 60
- polling_interval 1
- realm All
- max_check_attempts 3
- min_workers 0
- processes_by_worker 256
- }
- define realm {
- default 1
- realm_name All
- }
- define reactionner {
- data_timeout 120
- timeout 3
- address localhost
- modules
- reactionner_name reactionner-1
- manage_sub_realms 0
- max_workers 15
- spare 0
- check_interval 60
- polling_interval 1
- realm All
- max_check_attempts 3
- min_workers 1
- port 7769
- }
- define broker {
- broker_name broker-1
- data_timeout 120
- timeout 3
- modules Livestatus, Simple-log, WebUI
- manage_arbiters 1
- manage_sub_realms 1
- spare 0
- check_interval 60
- address localhost
- realm All
- max_check_attempts 3
- port 7772
- }
- define arbiter {
- modules ,PickleRetentionArbiter
- spare 0
- address localhost
- port 7770
- arbiter_name Arbiter-Master
- }
- define scheduler {
- data_timeout 120
- timeout 3
- weight 1
- skip_initial_broks 0
- modules ,PickleRetention
- spare 0
- check_interval 60
- address localhost
- scheduler_name scheduler-1
- max_check_attempts 3
- realm All
- port 7768
- }
- define receiver {
- data_timeout 120
- timeout 3
- direct_routing 0
- modules
- port 7773
- spare 0
- check_interval 60
- address localhost
- realm All
- max_check_attempts 3
- receiver_name receiver-1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement