Xymon Mailing List Archive search

apt plugin from debians hobbit-plugins package

list Rasmus Simon-Riegel
Tue, 05 May 2009 13:05:40 +0200
Message-Id: <user-e1419c1a663c@xymon.invalid>

with apticron it was simple to get a regularly updated lockfile.
you never work with this tool, i have not thought about it.


Rasmus

Wouter Schoot schrieb:
Rasmus Simon-Riegel wrote:
i made a little change in /usr/lib/hobbit/client/ext/apt

in @stamp_files add "/var/lib/apticron/last_run" and remove "/var/lib/apt/lists/lock".

before:
my @stamp_files = qw(/var/lib/apt/update_success /var/lib/apt/periodic/update-stamp /var/lib/apt/lists/lock);
after:
my @stamp_files = qw(/var/lib/apt/update_success /var/lib/apt/periodic/update-stamp /var/lib/apticron/last_run);
ascent at tosca:~$ ls -l /var/lib/apticron/last_run
ls: cannot access /var/lib/apticron/last_run: No such file or directory

That depends on another package I suppose?

The previous solutions work no matter what.

Wouter