I worked this days to troubleshoot why our monitoring tool hardrive gets full very fast. Looks like that service snmptrapd that collects snmp traps is using all the space.Here is my logrotate script to fix it. The trick is that you need to use logrotate to restart the service at every “cleaninig” [email protected]:$ cat /etc/logrotate.d/snmptrapd/var/log/snmptrap/*.log {hourlymissingokrotate 24delaycompressnotifemptycompresspostrotate/bin/systemctl restart snmptrapd.service > /dev/null 2>/dev/null || trueendscript}
Blog Posts
If you have a Octagon sf8008 at home for satelite or cable receiver and you discovered similar to someone is using remote control even if not ? Yeah, the issue …
LLDP is a standard almost everywhere, unlike CDP that is mostly used only on Cisco devices. From time to time I had to troubleshoot issues where is a ESXi (or …
These days as was fighting with configuration of multiple AOS6 and AOS8 switches using Ansible and I discovered that for old versions of AOS6, this doesn’t work because of the …
I discovered recently that Librenms is capable to “handle” and show wifi sensors and because i had a OpenWrt AP running i tried to have it running but… It wasn’t …
Because i started with LibreNMS and then with Netbox, i saw that eNMS can be synced with Librenms. The installation documentation was not the best, really don’t know the exact …
Today because i had some free time, i start to install and configure Netbox to a new virtual machine with Ubuntu 18.04. Found some tutorials online but looks like this …
Recent Comments