be1be507fd
Nagios in a database. Storing information from Nagios in a database will allow for quicker retrieval and processing of that data and will help serve as a foundation for the development of a new PHP-based web interface in Nagios 3.0. WWW: http://www.nagios.org Approved by: araujo (mentor)
13 lines
518 B
INI
13 lines
518 B
INI
--- ./config/misccommands.cfg.orig 2008-02-21 18:38:53.000000000 -0500
|
|
+++ ./config/misccommands.cfg 2008-02-21 18:41:56.000000000 -0500
|
|
@@ -5,7 +5,7 @@
|
|
# to suit your needs. This definition will need to be included in your
|
|
# Nagios config files if you want to use it.
|
|
|
|
-define command{
|
|
+define command {
|
|
command_name rotate_ndo_log
|
|
- command_line /bin/mv /usr/local/nagios/var/ndo.dat /usr/local/nagios/var/ndo.`date +%s`
|
|
- }
|
|
+ command_line /bin/mv /var/spool/nagios/ndo.dat /var/spool/ndo.`date +%s`
|
|
+}
|