Recently battery in my notebook started to behave erratically. It will charge only to 70-80% of its maximum capacity. I suspect that it is probably slowly dying, so I will have to replace it soon, but at first, I will look at several utilities to monitor battery capacity.
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 […]
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.