Advertisement
Guest User

Untitled

a guest
Jun 12th, 2017
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. nagios:/etc/nagios3# cat ndo2db.cfg | egrep -v "(^$|^#)"
  2. ndo2db_user=nagios
  3. ndo2db_group=nagios
  4. socket_type=tcp
  5. tcp_port=5668
  6. db_servertype=mysql
  7. db_host=localhost
  8. db_port=3306
  9. db_name=ndoutils
  10. db_prefix=nagios_
  11. db_user=ndoutils
  12. db_pass=**********
  13. max_timedevents_age=1440
  14. max_systemcommands_age=10080
  15. max_servicechecks_age=10080
  16. max_hostchecks_age=10080
  17. max_eventhandlers_age=44640
  18. debug_level=-1
  19. debug_verbosity=2
  20. debug_file=@localstatedir@/ndo2db.debug
  21. max_debug_file_size=1000000
  22.  
  23.  
  24. nagios:/etc/nagios3# cat ndomod.cfg | egrep -v "(^$|^#)"
  25. instance_name=default
  26. output_type=tcpsocket
  27. output=127.0.0.1
  28. tcp_port=5668
  29. output_buffer_items=5000
  30. buffer_file=/var/cache/nagios3/ndomod.tmp
  31. file_rotation_interval=14400
  32. file_rotation_timeout=60
  33. reconnect_interval=15
  34. reconnect_warning_interval=15
  35. data_processing_options=-1
  36. config_output_options=2
  37.  
  38.  
  39. nagios:/etc/nagios3# tail -n 10 /var/log/nagios3/nagios.log
  40. [1283175319] Warning: Host 'gateway' has no services associated with it!
  41. [1283175319] Finished daemonizing... (New PID=27386)
  42. [1283175449] SERVICE ALERT: nagios-srv;Users;OK;SOFT;3;USERS OK - 0 users currently logged in
  43. [1283176231] ndomod: Still unable to connect to data sink. 3712 items lost, 5000 queued items to flush.
  44.  
  45.  
  46. nagios:/etc/nagios3# telnet 127.0.0.1 5668
  47. Trying 127.0.0.1...
  48. Connected to 127.0.0.1.
  49. Escape character is '^]'.
  50. ^]q
  51.  
  52. telnet> q
  53. Connection closed.
  54. nagios:/etc/nagios3#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement