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