Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


nagios_config_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
nagios_config_commands [2008/08/02 22:31]
juckins created
nagios_config_commands [2008/08/13 13:43] (current)
juckins
Line 1: Line 1:
-Editing Nagios Configurations:​+Editing Nagios ​Main Config, and adding new hosts: \\ 
 +/​usr/​local/​nagios/​etc/​nagios.cfg 
 + 
 +Editing Nagios Host Configurations: ​\\
 /​usr/​local/​nagios/​etc/​objects /​usr/​local/​nagios/​etc/​objects
  
-Checking for Config Errors:+Checking for Config Errors: ​\\
 /​usr/​local/​nagios/​bin/​nagios -v /​usr/​local/​nagios/​etc/​nagios.cfg /​usr/​local/​nagios/​bin/​nagios -v /​usr/​local/​nagios/​etc/​nagios.cfg
  
-Restarting Nagios:+Restarting Nagios: ​\\
 service nagios restart service nagios restart
 +
 +Nagios Web Pages Root: \\
 +/​usr/​local/​nagios/​share
 +
 +DOCS: \\
 +http://​www.debianhelp.co.uk/​nagiospluins.htm
 +
 +Object configuration options: \\
 +[[http://​nagios.sourceforge.net/​docs/​3_0/​objectdefinitions.html]]
 +
 +NRPE Daemon Config: \\
 +<​code>​
 +/​usr/​local/​nagios/​etc/​nrpe.cfg
 +</​code>​
 +
 +Don't forget to add iptables rule: \\
 +<​code>​
 +/​sbin/​iptables -A INPUT -p tcp -m tcp --dport 5666 -j ACCEPT
 +</​code>​
  
  
nagios_config_commands.1217730719.txt.gz · Last modified: 2008/08/02 22:31 by juckins