Advertisement
rmh

NAGIOS Configuration

rmh
Oct 10th, 2014
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Setting up nagios.cfg
  2. [me@mymachine ~] cd /etc/nagios
  3. [me@mymachine nagios] mv localhost.cfg localhost.cfg_org
  4.  
  5. [me@mymachine nagios] vim nagios.cfg
  6.  
  7. # OBJECT CONFIGURATION FILE(S) Dependency files!
  8. cfg_file=/etc/nagios/contactgroups.cfg
  9. cfg_file=/etc/nagios/contacts.cfg
  10. cfg_file=/etc/nagios/hostgroups.cfg
  11. cfg_file=/etc/nagios/hosts.cfg
  12. cfg_file=/etc/nagios/services.cfg
  13. cfg_file=/etc/nagios/timeperiods.cfg
  14.  
  15. # EXTERNAL COMMAND OPTION
  16. check_external_commands=1
  17.  
  18. # EXTERNAL COMMAND CHECK INTERVAL
  19. command_check_interval=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement