Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > 31813ebd643ebfde52840a9e173320fd > files > 63

ndoutils-common-1.4-0.b8.2mdv2010.0.i586.rpm

# SAMPLE NDO FILE ROTATION COMMAND
#
# This is an example Nagios command definition that can be used to
# rotate the NDO output file on a regular basis.  Adjust the paths, etc.
# to suit your needs.  This definition will need to be included in your
# Nagios config files if you want to use it.

define command{
	command_name	rotate_ndo_log
	command_line	/bin/mv /var/lib/ndo/ndo.dat /var/lib/ndo/ndo.`date +%s`
        }