As you probably already know, the CCQ value is not available via SNMP (AirOS 5.5.2), but of course it doesn’t mean it can’t be graphed using Cacti. To graph CCQ on Ubiquiti devices, you just need to use a simple script to read the desired value using the web interface.
To change the data source name, you need to check its current value and then issue single rrdtool command.
Signal strength on Mikrotik devices can be monitored by Cacti using SNMP protocol. It is straightforward if you have just couple of those devices but you can be easily overwhelmed by dozens of data templates because wireless card’s MAC address is part of the OID.
Just two simple steps – create logging action and rule.
Install lm-sensors package:
$ sudo apt-get install lm-sensors
Execute sensors-detect command as root:
$ sudo sensors-detect
It will determine needed modules and at the end it will ask for your permission to automatically add them to the /etc/modprobe file. If you answered yes then load them using command:
$ sudo service module-init-tools start
Now you can use sensors command:
$ sensors acpitz-virtual-0 Adapter: Virtual device temp1: +44.0°C (crit = +100.0°C) temp2: +44.0°C (crit = +100.0°C) coretemp-isa-0000 Adapter: ISA adapter Physical id 0: +45.0°C (high = +86.0°C, crit = +100.0°C) Core 0: +45.0°C (high = +86.0°C, crit = +100.0°C) Core 1: +44.0°C (high = +86.0°C, crit = +100.0°C)
Store and stop processing specific log.
It’s easy to miss something when you need to monitor dozen of logs on different servers and some other devices. Fortunately, there is a simple solution as you can use rsyslog with PostgreSQL or MySQL support to store all local and remote events on your network and then visualize results using LogAnalyzer.