Monitor2: Difference between revisions
Jump to navigation
Jump to search
(Created page with "The second monitoring system/framework in the New World ('''monitor2''') is implemented on the server https://nw-syd-monitor2.cse.unsw.edu.au/. Unlike monitor1 it does not use Nagios and, implicitly, does not generate any sort of alarms. Instead, monitor2 collects and graphs data sampled from various servers. It is designed to implement a "standard" way of collecting data, storing it and graphing it, regardless of the type of data we talk about. It uses SNMP to...") |
No edit summary |
||
Line 1: | Line 1: | ||
The second monitoring system/framework in the [[New World]] ('''monitor2''') is implemented on the server https://nw-syd-monitor2.cse.unsw.edu.au/. Unlike [[monitor1]] it does not use Nagios and, implicitly, does not generate any sort of alarms. | The second monitoring system/framework in the [[New World]] ('''monitor2''') is implemented on the server https://nw-syd-monitor2.cse.unsw.edu.au/. Unlike [[monitor1]] it does not use Nagios and, implicitly, does not generate any sort of alarms. | ||
Instead, monitor2 collects and graphs data sampled from various servers. It is designed to implement a | Instead, monitor2 collects and graphs data sampled from various servers. It is designed to implement a simple but flexible way of collecting data from these hosts, storing it and graphing it, regardless of the type of data. It uses SNMP to collect data samples from the monitored hosts. Where the standard SNMP MIBs don't define the data samples we want to collect, we extend SNMP with external scripts (written in bash) to provide the required samples. | ||
As of the date of writing, it supports: | As of the date of writing, it supports: | ||
Line 10: | Line 10: | ||
# Memory usage (RAM) | # Memory usage (RAM) | ||
# Device temperature(s) | # Device temperature(s) | ||
== Location of files == | |||
=== monitor2 === | |||
{| | |||
!monitor2 files and directories | |||
!Description | |||
|- | |||
|<code>/home/cephmonitor/samples</code> | |||
|Top level directory under which, firstly, sampled/graphed hosts are collected in subcategory directories | |||
|- | |||
|<code>/home/cephmonitor/cgi-bin</code> | |||
|Directory containing Bash CGI scripts for each graphed data type. They use a common library to display pages with similar-looking controls at the top and graphs underneath | |||
|} | |||
=== Monitored hosts === | |||
{| | |||
!Files and directories on the monitored hosts | |||
!Description | |||
|- | |||
|<code>/etc/snmp/snmpd.conf</code> | |||
|Configuration file for the SNMP daemon running on the host. It contains the community name plus it lists the scripts used to extend the range of data the daemon can provide | |||
|- | |||
|<code>/usr/local/snmpd_extend</code> | |||
|Directory containing the scripts referred to by <code>snmpd.conf</code> | |||
|} |
Revision as of 15:34, 26 April 2023
The second monitoring system/framework in the New World (monitor2) is implemented on the server https://nw-syd-monitor2.cse.unsw.edu.au/. Unlike monitor1 it does not use Nagios and, implicitly, does not generate any sort of alarms.
Instead, monitor2 collects and graphs data sampled from various servers. It is designed to implement a simple but flexible way of collecting data from these hosts, storing it and graphing it, regardless of the type of data. It uses SNMP to collect data samples from the monitored hosts. Where the standard SNMP MIBs don't define the data samples we want to collect, we extend SNMP with external scripts (written in bash) to provide the required samples.
As of the date of writing, it supports:
- Disk activity (bytes read and written per local disk/partition)
- Network interface traffic (bytes read and written per network interface)
- CPU usage (percentage) and load average
- Memory usage (RAM)
- Device temperature(s)
Location of files
monitor2
monitor2 files and directories | Description |
---|---|
/home/cephmonitor/samples
|
Top level directory under which, firstly, sampled/graphed hosts are collected in subcategory directories |
/home/cephmonitor/cgi-bin
|
Directory containing Bash CGI scripts for each graphed data type. They use a common library to display pages with similar-looking controls at the top and graphs underneath |
Monitored hosts
Files and directories on the monitored hosts | Description |
---|---|
/etc/snmp/snmpd.conf
|
Configuration file for the SNMP daemon running on the host. It contains the community name plus it lists the scripts used to extend the range of data the daemon can provide |
/usr/local/snmpd_extend
|
Directory containing the scripts referred to by snmpd.conf
|