...
Code Block | ||||
---|---|---|---|---|
| ||||
OMD[mysite]:~$ for i in $(find ~/var/check_mk/rrd -name *.info); do test -e ${i%info}rrd || echo $i; done /omd/sites/mysite/var/check_mk/rrd/<HOSTNAME>/PING.info /omd/sites/mysite/var/check_mk/rrd/<HOSTNAME>/CPU_Utilization_Mgmt_CPU.info /omd/sites/mysite/var/check_mk/rrd/<HOSTNAME>/CPU_Utilization_Packet_CPU_1.info /omd/sites/mysite/var/check_mk/rrd/<HOSTNAME>/CPU_Utilization_Packet_CPU_0.info |
Now you have a least list with files to delete. Please replace echo $i
with rm $i
in order to delete those files.
...