forked from matteocorti/check_updates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
38 lines (24 loc) · 942 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
check_updates is a Nagios plugin to check if RedHat or Fedora system
is up-to-date
The plugin uses either YUM, DNF or up2date depending on the operating
system.
up2date:
========
since up2date -l to list the outdated packages can only be run be run
by root the plugin must be executed as root. Plese configure sudo as
follows:
nagios ALL= NOPASSWD: /usr/sbin/up2date -l
and execute the plugin with sudo
sudo $INSTALLATION_PATH/check_updates
DNF:
====
DNF uses different caches pro user. This has the consequence that DNF
and the plugin will potentially deliver different results for
different users.
Yum security plugin:
====================
Use one of the following commands to install the yum security plugin:
Fedora, Red Hat Enterprise Linux 6.x, Scientific Linux 6.x systems:
* yum install yum-plugin-security
Red Hat Enterprise Linux 5.x, CentOS 5.x and Scientific Linux 5.x systems:
* yum install yum-security