Monitoring

NRPE

It is possible to monitor Baruwa Enterprise Edition systems using the NRPE protocol from Nagios. To enable monitoring check the Enable Monitoring checkbox on the System Settings screen of the baruwa-setup utility.

Monitoring points

Depending on the system profile, the following points are available via NRPE.

  • Disk space
  • Uwsgi process
  • Database process
  • Database proxy process
  • Indexer process
  • Cache process
  • Message Queue process
  • Baruwa celery process
  • Baruwa Logging process
  • Mail Scanning process
  • Anti Virus Engine process
  • Message queue status
  • System Load
  • Security Updates

Adding your own monitoring points

You can add your own NRPE monitoring points by placing a .cfg file in /etc/nrpe.d then reload the nrpe service to activate the monitoring points.

Monitoring services

You can monitor the services by connecting to the actual port, most monitoring systems are able to do this.

Firewall

The firewall port 5666 inbound is open to all, you need to restrict this by allowing access only from your monitoring IP addresses.

SNMP

With BaruwaOS >= 6.7.4 it is possible to monitor Baruwa Enterprise Edition systems using the SNMP protocol. To enable SNMP monitoring check the Enable SNMP Agent checkbox on the Management Other Settings screen of the baruwa-setup utility.

Authentication

BaruwaOS only exposes an SNMPv3 interface. The username is baruwa, the password is autogenerated when the system is setup.

To obtain the password run the following command, (you need to provide the passphrase):

baruwa-setup -e snmp_password

Monitoring points

The monitoring points available are the same as the ones exposed via NRPE. The OIDs to walk are UCD-SNMP-MIB::dskTable, UCD-SNMP-MIB::prTable and UCD-SNMP-MIB::extTable

Firewall

The firewall port 161 inbound is open to all, you need to restrict this by allowing access only from your monitoring IP addresses.