MMS can also be monitored by server hardware. By default, data cannot be collected. You need to install munin-node to collect hardware statistics. Nodataavailable is found when you click Hardware. : Use munin-node to monitor hardware munin-node Project address: munin-monitoring.orgmunin.readthedo
MMS can also be monitored by server hardware. By default, data cannot be collected. You need to install munin-node to collect hardware statistics. No data available is found when you click Hardware. : Use munin-node to monitor hardware munin-node Project address: http://munin-monitoring.org/http://munin.readthedo
MMS can also be monitored by server hardware. By default, data cannot be collected. You need to install munin-node to collect hardware statistics. No data available is found when you click Hardware. : Use munin-node to monitor the hardware munin-node Project address: Overlord. If you have time to read it, you can execute system commands remotely. MMS allows you to collect and plot hardware statistics through munin. You must install the munin-node package on the host to be monitored. At the same time, make sure that the monitoring proxy can access the listening port 4949 of the munin-node service. Note: munin-node and Hardware monitoring only support MongoDB instances on the Linux platform. In Debian and Ubuntu systems:
sudo apt-get install munin-node
In centos, RedHat, and Fedora systems: you must first install the EPEL source.
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmyum install munin-node/etc/init.d/munin-node startchkconfig munin-node on
By default, munin-node only allows local connections. You need to authorize the IP address to be connected.
# vim /etc/munin/munin-node.conf cidr_allow 10.0.0.0/8
Here I am running all IP addresses in the 10.0.0.0 segment. If a single IP address is allowed, add all the plug-ins supported by allow ^ 10 \. 0 \. 100 \. 125 $ munin to the/usr/share/munin/plugins directory. The enabled plug-in is located in the/etc/munin/plugins directory. You can see that the files in the/etc/munin/plugins directory point to the files in the/usr/share/munin/plugins directory. Therefore, iostat and iostat_ios not supported by telnet can be solved in this way.
# cd /etc/munin/plugins/# ln -s /usr/share/munin/plugins/iostat iostat# ln -s /usr/share/munin/plugins/iostat_ios iostat_ios# /etc/init.d/munin-node restart
In this way, you can obtain iostat and iostat_ios information. If you want to enable a munin plug-in, you can do this: cd/etc/munin/plugins/sudo ln-s/usr/share/munin/plugins/ Other considerations: 1 .? If you have a numbered disk device, such as/dev/sda1 and/dev/sda2, You need to configure the munin iostat plug-in. Edit the/etc/munin/plugin-conf.d/munin-node file and add the following content: [iostat] env. SHOW_NUMBERED 12. If munin is enabled,? Iostat ios data does not appear. It is likely that munin-node has no permission to access the state files in the munin/plugin-state/directory. View/var/log/munin-node/munin-node.log logs to view the specific path of the file. You can use the following methods to solve the problem:
touch /var/lib/munin/plugin-state/iostat-ios.statechown -R [username]:[group] /var/lib/munin/plugin-state/chmod -R 660 /var/lib/munin/plugin-state/
Change username and group to the username and group for execution by munin-node. 3. Permission issues. As mentioned above, port 4949 only allows local connections by default. You need to modify the/etc/munin/munin-node.conf file and firewall to allow access from the source IP address. Return to the system and check whether the previous Hardware monitoring information has obtained the data. How to monitor other hardware information?
Original article address: MMS uses Munin-Node to monitor the hardware (11). Thank you for sharing it with me.