How To Install mon on Fedora 36
Introduction
In this tutorial we learn how to install mon
on Fedora 36.
What is mon
Mon is a general-purpose resource monitoring system. It can be used to monitor network service availability, server problems, environmental conditions (i.e., the temperature in a room) or other things. Mon can be used to test the condition and/or to trigger an action upon failure of the condition. Mon keeps the testing and action-taking tasks as separate, stand-alone programs. Mon is very extensible. Monitors and alerts are not a part of mon, but the distribution comes with a handful of them to get you started. This means that if a new service needs monitoring, or if a new alert is required, the mon server will not need to be changed.
We can use yum
or dnf
to install mon
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mon.
Install mon on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install mon
using dnf
by running the following command:
sudo dnf -y install mon
Install mon on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install mon
using yum
by running the following command:
sudo yum -y install mon
How To Uninstall mon on Fedora 36
To uninstall only the mon
package we can use the following command:
sudo dnf remove mon
mon Package Contents on Fedora 36
/etc/mon
/etc/mon/auth.cf
/etc/mon/mon.cf
/etc/mon/userfile
/usr/bin/mon
/usr/bin/moncmd
/usr/bin/monshow
/usr/bin/skymon
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/11da571050d2422b550fbfb301acd92e73126e
/usr/lib/.build-id/34
/usr/lib/.build-id/34/1727cac88a32aca2c02fc33b25185787390d09
/usr/lib/systemd/system/mon.service
/usr/lib64/mon
/usr/lib64/mon/alert.d
/usr/lib64/mon/alert.d/alert.template
/usr/lib64/mon/alert.d/bugzilla.alert
/usr/lib64/mon/alert.d/file.alert
/usr/lib64/mon/alert.d/gnats.alert
/usr/lib64/mon/alert.d/hpov.alert
/usr/lib64/mon/alert.d/irc.alert
/usr/lib64/mon/alert.d/mail.alert
/usr/lib64/mon/alert.d/netpage.alert
/usr/lib64/mon/alert.d/qpage.alert
/usr/lib64/mon/alert.d/sms.alert
/usr/lib64/mon/alert.d/snapdelete.alert
/usr/lib64/mon/alert.d/snpp.alert
/usr/lib64/mon/alert.d/test.alert
/usr/lib64/mon/alert.d/trap.alert
/usr/lib64/mon/alert.d/winpopup.alert
/usr/lib64/mon/mon.d
/usr/lib64/mon/mon.d/asyncreboot.monitor
/usr/lib64/mon/mon.d/cpqhealth.monitor
/usr/lib64/mon/mon.d/dialin.monitor.wrap
/usr/lib64/mon/mon.d/dns-query.monitor
/usr/lib64/mon/mon.d/dns.monitor
/usr/lib64/mon/mon.d/file_change.monitor
/usr/lib64/mon/mon.d/foundry-chassis.monitor
/usr/lib64/mon/mon.d/fping.monitor
/usr/lib64/mon/mon.d/ftp.monitor
/usr/lib64/mon/mon.d/hpnp.monitor
/usr/lib64/mon/mon.d/http.monitor
/usr/lib64/mon/mon.d/http_tppnp.monitor
/usr/lib64/mon/mon.d/imap.monitor
/usr/lib64/mon/mon.d/ldap.monitor
/usr/lib64/mon/mon.d/local-syslog.monitor
/usr/lib64/mon/mon.d/lpd.monitor
/usr/lib64/mon/mon.d/mon.monitor
/usr/lib64/mon/mon.d/msql-mysql.monitor
/usr/lib64/mon/mon.d/na_quota.monitor
/usr/lib64/mon/mon.d/netappfree.monitor
/usr/lib64/mon/mon.d/nntp.monitor
/usr/lib64/mon/mon.d/ntpdate.monitor
/usr/lib64/mon/mon.d/phttp.monitor
/usr/lib64/mon/mon.d/ping.monitor
/usr/lib64/mon/mon.d/pop3.monitor
/usr/lib64/mon/mon.d/process.monitor
/usr/lib64/mon/mon.d/rd.monitor
/usr/lib64/mon/mon.d/reboot.monitor
/usr/lib64/mon/mon.d/rpc.monitor
/usr/lib64/mon/mon.d/seq.monitor
/usr/lib64/mon/mon.d/silkworm.monitor
/usr/lib64/mon/mon.d/smtp.monitor
/usr/lib64/mon/mon.d/smtp3.monitor
/usr/lib64/mon/mon.d/snmpdiskspace.monitor
/usr/lib64/mon/mon.d/snmpvar.monitor
/usr/lib64/mon/mon.d/tcp.monitor
/usr/lib64/mon/mon.d/telnet.monitor
/usr/lib64/mon/mon.d/trace.monitor
/usr/lib64/mon/mon.d/traceroute.monitor
/usr/lib64/mon/mon.d/up_rtt.monitor
/usr/lib64/mon/mon.d/xedia-ipsec-tunnel.monitor
/usr/share/doc/mon
/usr/share/doc/mon/CHANGES
/usr/share/doc/mon/COPYING
/usr/share/doc/mon/COPYRIGHT
/usr/share/doc/mon/CREDITS
/usr/share/doc/mon/KNOWN-PROBLEMS
/usr/share/doc/mon/README
/usr/share/doc/mon/README.alerts
/usr/share/doc/mon/README.cgi-bin
/usr/share/doc/mon/README.hints
/usr/share/doc/mon/README.mon.cgi
/usr/share/doc/mon/README.monitors
/usr/share/doc/mon/README.msql-mysql.monitor
/usr/share/doc/mon/README.paging
/usr/share/doc/mon/README.protocol
/usr/share/doc/mon/README.rpc.monitor
/usr/share/doc/mon/README.snmpdiskspace.monitor
/usr/share/doc/mon/README.snmpvar.monitor
/usr/share/doc/mon/README.software
/usr/share/doc/mon/README.syslog.monitor
/usr/share/doc/mon/README.traps
/usr/share/doc/mon/README.variables
/usr/share/doc/mon/TODO
/usr/share/doc/mon/VERSION
/usr/share/doc/mon/aim.alert.README
/usr/share/doc/mon/auth.cf
/usr/share/doc/mon/batch-example
/usr/share/doc/mon/bugzilla.alert.README
/usr/share/doc/mon/example.cf
/usr/share/doc/mon/example.m4
/usr/share/doc/mon/example.monshowrc
/usr/share/doc/mon/gnats.alert.README
/usr/share/doc/mon/hpov.alert.README
/usr/share/doc/mon/mon.cgi-1.52
/usr/share/doc/mon/mon.cgi-1.52/CHANGES
/usr/share/doc/mon/mon.cgi-1.52/COPYING
/usr/share/doc/mon/mon.cgi-1.52/README
/usr/share/doc/mon/mon.cgi-1.52/README.1.52
/usr/share/doc/mon/mon.cgi-1.52/README.site-customization
/usr/share/doc/mon/mon.cgi-1.52/config
/usr/share/doc/mon/mon.cgi-1.52/config/mon.cgi.cf
/usr/share/doc/mon/mon.cgi-1.52/config/mon.cgi.cf.tva
/usr/share/doc/mon/mon.cgi-1.52/mon.cgi
/usr/share/doc/mon/mon.cgi-1.52/util
/usr/share/doc/mon/mon.cgi-1.52/util/README
/usr/share/doc/mon/mon.cgi-1.52/util/moncgi-appsecret.pl
/usr/share/doc/mon/mon.cgi.cf
/usr/share/doc/mon/na_quota.cf
/usr/share/doc/mon/netappfree.cf
/usr/share/doc/mon/pageomat.README
/usr/share/doc/mon/skymon
/usr/share/doc/mon/skymon/README
/usr/share/doc/mon/skymon/allow
/usr/share/doc/mon/skymon/procmail
/usr/share/doc/mon/skymon/skymon
/usr/share/doc/mon/sms.alert.README
/usr/share/doc/mon/snapdelete.alert.README
/usr/share/doc/mon/snmpdiskspace.cf
/usr/share/doc/mon/snmpopt.cf
/usr/share/doc/mon/snmpvar.cf
/usr/share/doc/mon/utils
/usr/share/doc/mon/utils/cf-to-hosts
/usr/share/doc/mon/utils/syslog.monitor
/usr/share/doc/mon/very-simple.cf
/usr/share/doc/mon/winpopup.alert.README
/usr/share/man/man1/moncmd.1.gz
/usr/share/man/man1/monshow.1.gz
/usr/share/man/man8/mon.8.gz
/var/lib/mon
/var/lib/mon/log.d
/var/lib/mon/state.d
/var/www/cgi-bin/mon.cgi
References
Summary
In this tutorial we learn how to install mon
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).