Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Setting up nagios.cfg
- [me@mymachine ~] cd /etc/nagios
- [me@mymachine nagios] mv localhost.cfg localhost.cfg_org
- [me@mymachine nagios] vim nagios.cfg
- # OBJECT CONFIGURATION FILE(S) Dependency files!
- cfg_file=/etc/nagios/contactgroups.cfg
- cfg_file=/etc/nagios/contacts.cfg
- cfg_file=/etc/nagios/hostgroups.cfg
- cfg_file=/etc/nagios/hosts.cfg
- cfg_file=/etc/nagios/services.cfg
- cfg_file=/etc/nagios/timeperiods.cfg
- # EXTERNAL COMMAND OPTION
- check_external_commands=1
- # EXTERNAL COMMAND CHECK INTERVAL
- command_check_interval=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement