Install Manubulon SNMP plugins in ICINGA2 serverwget https://github.com/dnsmichi/manubulon-snmp/archive/master.zip unzip master.zip /usr/lib64/nagios/manubulon/manubulon-snmp-master/plugins yum install perl-Net-SNMP perl-Getopt-Long gcc ./install.sh
[root@icinga2 plugins]# ./install.sh
###### Manubulon snmp scripts installer ######
Will install all script(s) What is your perl location ? [/usr/bin/perl] Net::SNMP module version is v6.0.1 [OK] Module Getopt::Long found [OK] What is your monitoring plugin location ? /usr/lib64/nagios/manubulon Where do you want the plugins to put temporary data (only used by some plugins) ? Icinga user must be able to write files in it [/tmp] Will now install all script(s) : in directory : /usr/lib64/nagios/manubulon perl : /usr/bin/perl temp directory : /tmp OK ? [Y/n]y Installing check_snmp_boostedge.pl : OK Installing check_snmp_css.pl : OK Installing check_snmp_linkproof_nhr.pl : OK Installing check_snmp_nsbox.pl : OK Installing check_snmp_vrrp.pl : OK Installing check_snmp_cpfw.pl : OK Installing check_snmp_env.pl : OK Installing check_snmp_load.pl : OK Installing check_snmp_process.pl : OK Installing check_snmp_win.pl : OK Installing check_snmp_css_main.pl : OK Installing check_snmp_int.pl : OK Installing check_snmp_mem.pl : OK Installing check_snmp_storage.pl : OK Installation completed OK You can delete all the source files and directory Remember to look for informtation at http://www.manubulon.com/nagios/ [root@icinga2 plugins]# cp /usr/share/icinga2/include/command-plugins-manubulon.conf /etc/icinga2/conf.d/command-plugins-manubulon.conf vi /etc/icinga2/constants.conf /* The directory which contains the Manubulon plugins. * Check the documentation, chapter "SNMP Manubulon Plugin Check Commands", for details. */ const ManubulonPluginDir = "/usr/lib64/nagios/manubulon" systemctl restart icinga2
mkdir -p /etc/icinga2/conf.d/CLIENTS cd /etc/icinga2/conf.d/CLIENTS vi service_snmp.conf apply Service "CHECK_DISK" { import "generic-service" check_command = "snmp-storage" assign where host.address } Now we will add a host: vi gg1.conf object Host "gg1" { address = "192.168.10.60" check_command = "hostalive" vars.os = "Linux" }
Cluster Time Synchronization Serviceyum install net-snmp-utils net-snmp chkconfig snmpd on cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf_bkp vi /etc/snmp/snmpd.conf com2sec local localhost public com2sec local 192.168.10.0/24 public group MyRWGroup v1 local group MyRWGroup v2c local group MyRWGroup usm local view all included .1 80 access MyRWGroup "" any noauth exact all all none pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat
https://support.zoho.com/portal/manageengine/helpcenter/articles/configuring-snmp-on-redhat-linux-server
|