/srv/irclogs.ubuntu.com/2020/02/22/#ubuntu-server.txt

=== rfm_ is now known as rfm
zakihello19:39
zakimy snmpd configuration not working on ubuntu server 18.419:39
ahasenackI always found snmpd hard19:48
zakiit's give me error like this /etc/snmp/snmpd.conf: line 16: Warning: Unknown token: Listen.19:52
zakisnmpd status running but  not working properly19:53
ahasenackdid you change /etc/snmp/snmpd.conf?19:53
zakiyes19:54
zakiI enabled few default mib but not a single one working19:56
zakieach one giving Unknown token error19:57
tdszaki: can you pastebin your config? snmpd has no listen directive afaik19:58
zakitds, https://paste.ubuntu.com/p/gsv5XVyvhk/20:03
tdsline 16 looks like it's meant to be a comment?20:04
zakitds, and the status is https://paste.ubuntu.com/p/BkYGRBVWvG/20:07
tdszaki: it looks like it's just ignored those lines anyway, so should be running fine - but you can comment out the Listen one, and the other two look like they can be deleted if you're not using traps at all20:08
zakitds, yes, i've commented out that one now.20:09
zakiiv'e also used snmp-mibs-downloader for extra mibs20:09
adrian_1908Looks like Ubuntu logrotates Nginx logs. So it probably makes little sense to have Nginx gzip the logs, right?21:35
tomreynunless you want to undo log rotation (and its optional compression), i'd say so.21:39
adrian_1908Yeah, I now see I didn't have compression enabled for logrotate, but I might just do that. Enough CPU available. I see one can even use a custom command, so e.g. zstd could be an option.21:47

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!