Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_dnf

Rating
2 votes
Favoured:
0
Current Version
1.0
Last Release Date
2015-07-08
License
GPL
Hits
5190
Files:
FileDescription
check_dnf.rbcheck_dnf.rb
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
a very SIMPLE script to check update from DNF the replacement of yum in fedora 22.
inspired by check_yum, but do not have any options since we usually want the same behavior everytime..
OK => NO UPDATES
WARNING => NON SECURITY UPDATES (Detailled)
CRITICAL => SECURITY UPDATES
UNKNOWN => problem !

Ruby script. works from 1.9.3 upwards.
Reviews (1)
And here is a selinux policy for you ;-)

policy_module(nagios-checkdnf, 0.0.2)

require {
type nrpe_t;
}

#============= nrpe_t ==============
files_manage_generic_tmp_dirs(nrpe_t)
files_manage_generic_tmp_files(nrpe_t)
rpm_entry_type(nrpe_t)
rpm_read_db(nrpe_t)
storage_tmp_filetrans_fixed_disk(nrpe_t)

Use selinux-policy-devel and compile it to use