Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nagios:/etc/nagios3# cat ndo2db.cfg | egrep -v "(^$|^#)"
- ndo2db_user=nagios
- ndo2db_group=nagios
- socket_type=tcp
- tcp_port=5668
- db_servertype=mysql
- db_host=localhost
- db_port=3306
- db_name=ndoutils
- db_prefix=nagios_
- db_user=ndoutils
- db_pass=**********
- max_timedevents_age=1440
- max_systemcommands_age=10080
- max_servicechecks_age=10080
- max_hostchecks_age=10080
- max_eventhandlers_age=44640
- debug_level=-1
- debug_verbosity=2
- debug_file=@localstatedir@/ndo2db.debug
- max_debug_file_size=1000000
- nagios:/etc/nagios3# cat ndomod.cfg | egrep -v "(^$|^#)"
- instance_name=default
- output_type=tcpsocket
- output=127.0.0.1
- tcp_port=5668
- output_buffer_items=5000
- buffer_file=/var/cache/nagios3/ndomod.tmp
- file_rotation_interval=14400
- file_rotation_timeout=60
- reconnect_interval=15
- reconnect_warning_interval=15
- data_processing_options=-1
- config_output_options=2
- nagios:/etc/nagios3# tail -n 10 /var/log/nagios3/nagios.log
- [1283175319] Warning: Host 'gateway' has no services associated with it!
- [1283175319] Finished daemonizing... (New PID=27386)
- [1283175449] SERVICE ALERT: nagios-srv;Users;OK;SOFT;3;USERS OK - 0 users currently logged in
- [1283176231] ndomod: Still unable to connect to data sink. 3712 items lost, 5000 queued items to flush.
- nagios:/etc/nagios3# telnet 127.0.0.1 5668
- Trying 127.0.0.1...
- Connected to 127.0.0.1.
- Escape character is '^]'.
- ^]q
- telnet> q
- Connection closed.
- nagios:/etc/nagios3#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement