[19:39] <zaki> hello
[19:39] <zaki> my snmpd configuration not working on ubuntu server 18.4
[19:48] <ahasenack> I always found snmpd hard
[19:52] <zaki> it's give me error like this /etc/snmp/snmpd.conf: line 16: Warning: Unknown token: Listen.
[19:53] <zaki> snmpd status running but  not working properly
[19:53] <ahasenack> did you change /etc/snmp/snmpd.conf?
[19:54] <zaki> yes
[19:56] <zaki> I enabled few default mib but not a single one working
[19:57] <zaki> each one giving Unknown token error
[19:58] <tds> zaki: can you pastebin your config? snmpd has no listen directive afaik
[20:03] <zaki> tds, https://paste.ubuntu.com/p/gsv5XVyvhk/
[20:04] <tds> line 16 looks like it's meant to be a comment?
[20:07] <zaki> tds, and the status is https://paste.ubuntu.com/p/BkYGRBVWvG/
[20:08] <tds> zaki: 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 all
[20:09] <zaki> tds, yes, i've commented out that one now.
[20:09] <zaki> iv'e also used snmp-mibs-downloader for extra mibs
[21:35] <adrian_1908> Looks like Ubuntu logrotates Nginx logs. So it probably makes little sense to have Nginx gzip the logs, right?
[21:39] <tomreyn> unless you want to undo log rotation (and its optional compression), i'd say so.
[21:47] <adrian_1908> Yeah, 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.