我对从 epel 存储库安装的这两个 rpm 包的用途有点困惑。据我所知,nagios-plugins 包只安装了一些脚本:
/usr/lib64/nagios/plugins/negate
/usr/lib64/nagios/plugins/urlize
/usr/lib64/nagios/plugins/utils.sh
/usr/share/doc/nagios-plugins-2.2.1
/usr/share/doc/nagios-plugins-2.2.1/ACKNOWLEDGEMENTS
/usr/share/doc/nagios-plugins-2.2.1/AUTHORS
/usr/share/doc/nagios-plugins-2.2.1/CODING
/usr/share/doc/nagios-plugins-2.2.1/COPYING
/usr/share/doc/nagios-plugins-2.2.1/ChangeLog
/usr/share/doc/nagios-plugins-2.2.1/FAQ
/usr/share/doc/nagios-plugins-2.2.1/LEGAL
/usr/share/doc/nagios-plugins-2.2.1/NEWS
/usr/share/doc/nagios-plugins-2.2.1/README
/usr/share/doc/nagios-plugins-2.2.1/README.Fedora
/usr/share/doc/nagios-plugins-2.2.1/REQUIREMENTS
/usr/share/doc/nagios-plugins-2.2.1/SUPPORT
/usr/share/doc/nagios-plugins-2.2.1/THANKS
/usr/share/locale/de/LC_MESSAGES/nagios-plugins.mo
/usr/share/locale/fr/LC_MESSAGES/nagios-plugins.mo
包 nagios-plugins-all 包含实际的插件:
Installing for dependencies:
nagios-plugins x86_64 2.2.1-4git.el7 epel 251 k
nagios-plugins-breeze x86_64 2.2.1-4git.el7 epel 18 k
nagios-plugins-by_ssh x86_64 2.2.1-4git.el7 epel 44 k
nagios-plugins-cluster x86_64 2.2.1-4git.el7 epel 37 k
nagios-plugins-dhcp x86_64 2.2.1-4git.el7 epel 44 k
nagios-plugins-dig x86_64 2.2.1-4git.el7 epel 44 k
nagios-plugins-disk x86_64 2.2.1-4git.el7 epel 45 k
nagios-plugins-disk_smb x86_64 2.2.1-4git.el7 epel 21 k
nagios-plugins-dns x86_64 2.2.1-4git.el7 epel 45 k
nagios-plugins-dummy x86_64 2.2.1-4git.el7 epel 33 k
nagios-plugins-file_age x86_64 2.2.1-4git.el7 epel 19 k
nagios-plugins-flexlm x86_64 2.2.1-4git.el7 epel 20 k
nagios-plugins-fping x86_64 2.2.1-4git.el7 epel 43 k
nagios-plugins-game x86_64 2.2.1-4git.el7 epel 39 k
nagios-plugins-hpjd x86_64 2.2.1-4git.el7 epel 42 k
nagios-plugins-http x86_64 2.2.1-4git.el7 epel 60 k
nagios-plugins-icmp x86_64
nagios-plugins 包和 utils.sh 的用途是什么?
为什么要分成两个独立的包?
答案1
就像nagios-plugins
基础一样。有很多nagios-plugins-*
。all
软件包会安装所有东西,但你可以手动选择某些东西。
现在主要nagios-plugins
设置了基础,如目录结构和常用文件(如您所示)。如果每个人都nagios-plugins-*
安装了这些文件,他们就会互相争斗,生活就没意思了。