Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
nagios
suse.de-nagios
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File suse.de-nagios of Package nagios
#!/bin/sh # # Compress old nagios logfiles in /var/log/nagios/archives/ # once a week, if sysconfig variable is set to true # if [ -r /etc/sysconfig/nagios ]; then . /etc/sysconfig/nagios else echo "/etc/sysconfig/nagios not found or not readable." exit 1 fi if [ x"$NAGIOS_COMPRESS_LOGFILES" = x"true" ]; then LOGS=$(echo /var/log/nagios/archives/*.log) for f in $LOGS ; do if [ -e $f ] ; then /usr/bin/bzip2 /var/log/nagios/archives/*.log break fi done fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor