This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:monitoring [2018/10/02 17:32] ghi [SNMP agent] |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Gateway monitoring ====== | ||
- | ===== Monit daemon ===== | ||
- | |||
- | Monit is an open source supervision tool. It can monitor daemons, system resources, remote hosts or programs. It is recommended to use monit to monitor your applications. Please see [[https://mmonit.com/monit/|online documentation]]. | ||
- | |||
- | The command ''monit status'' returns the status of all supervised services. Services can be started/stopped with monit using the commands ''monit start <name>'' and ''monit stop <name>''. | ||
- | |||
- | The monit configuration is made in the directory **''/etc/monit.d''**. It is a directory in which you have to add small scripts to describe what you want to do accordingly to monit specification. | ||
- | |||
- | ===== Watchdog ===== | ||
- | |||
- | Watchdog is handled by monit daemon. | ||
- | |||
- | ===== SNMP agent ===== | ||
- | |||
- | Simple Network Management Protocol (SNMP) is a protocol used for monitoring network equipments. The data SNMP management is organized in a management information base (MIB). SNMP agent on Kerlink gateways is based on net-snmp (Net-SNMP). It is included by default with the firmware, and started automatically. | ||
- | |||
- | <note warning> | ||
- | Check your **[[wiki:firewall|firewall]]** and note that SNMP ports should be opened to properly work! | ||
- | </note> | ||
- | |||
- | To deactivate SNMPD from running at startup use the following commands: | ||
- | |||
- | <code> | ||
- | echo SNMPDRUN=no > /etc/default/snmpd | ||
- | reboot | ||
- | </code> | ||
- | ===== Supported MIBs ===== | ||
- | |||
- | <note important> | ||
- | TODO peut-être faux en attente R&D | ||
- | </note> | ||
- | |||
- | |||
- | The following MIBs are supported:\\ | ||
- | * mib2 (RFC1213) | ||
- | //mibII/vacm_conf\\ | ||
- | mibII/tcpTable\\ | ||
- | mibII/udpTable\\ | ||
- | mibII/system// | ||
- | * if-mib | ||
- | //if-mib/ifTable\\ | ||
- | if-mib/ifTable/ifTable\\ | ||
- | if-mib/ifTable/ifTable_interface// | ||
- | |||
- | For more information, see [[http://net-snmp.sourceforge.net/|Net-SNMP]]. | ||
- | |||
- | |||
- |