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

Directory Tree

check_dnf

Rating
2 votes
Favoured:
0
Current Version
1.0
Last Release Date
2015-07-08
License
GPL
Hits
8278
Files:
FileDescription
check_dnf.rbcheck_dnf.rb
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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