check_apt on Nagios is ok, but it's not true
check_apt on Nagios is ok, but it's not true
check_apt on Nagios gives "APT OK: 0 packages available for upgrade (0 critical updates). |available_upgrades=0;;;0 critical_updates=0;;;0". However I've checked manually, this it not true, there are available update. How can I fix this please?
Re: check_apt on Nagios is ok, but it's not true
Try running it with the -u:
Does that show them?
Code: Select all
su - nagios
cd /usr/local/nagios/libexec
./check_apt -uRe: check_apt on Nagios is ok, but it's not true
@ssax I tried run it with -u, but now it displays "APT WARNING: 0 packages available for upgrade (0 critical updates). warnings detected.|available_upgrades=0;;;0 critical_updates=0;;;0"
Re: check_apt on Nagios is ok, but it's not true
What about the -l option? This is supposed to "list packages available for upgrade."
The -h option is usually pretty useful for showing a help page for a given plugin. Give it a try to see if any of them suit your needs!
Code: Select all
./check_apt -lCode: Select all
./check_apt -hAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!