Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
nagios [2015/10/08 09:54] steve |
nagios [2015/12/21 15:43] steve |
||
---|---|---|---|
Line 42: | Line 42: | ||
Some config files in ''/etc/nagios'' may need their permissions adjusted so that Apache can have read access. | Some config files in ''/etc/nagios'' may need their permissions adjusted so that Apache can have read access. | ||
+ | |||
+ | ==== Configuration ==== | ||
+ | |||
+ | Verify that the configuration is correct: | ||
+ | |||
+ | <code> | ||
+ | nagios -v /etc/nagios/nagios.cfg | ||
+ | </code> | ||
+ | |||
+ | You can test an nrpe check directly from the nagios server to the client to verify it's working: | ||
+ | |||
+ | <code> | ||
+ | check_nrpe -c check_uptime -H 192.168.56.2 | ||
+ | </code> |