Hi, Thanks for this a surprising little amount of information on the net to set this up, so thanks for this! However I'm getting an error "-bash: /root/.snmp/snmp.conf: Permission denied " on "sudo echo "mibdirs +/root/mibs" >> /root/.snmp/snmp.conf" I'm running Debian Buster for raspberry Pi, so defaut user is pi and I can't cd to /root with the same error.. any idea? Edit: Although just to add, I'm getting SNMP data for everything except Network interfaces, RAM and uptime I think..
Hi, thanks for your comment. If you are operating from your Pi, just do: sudo su That will give you access to root account. I think you can pick it up from there)
Since I have a ssh config and ssk keys for logging in, I can just run this single command: :D scp truenas:/usr/local/share/snmp/mibs/FREENAS-MIB.txt /home/user/ && scp FREENAS-MIB.txt zabbix:/usr/local/share/snmp/mibs
Btw, the link in the Video description only displays a 404 page... as well as all the links for the three templates :/ Update: There is a Template you can download on the TrueNAS Forum (just google "Template_SNMP_TrueNAS_12.zip") that worked for me, however I first needed to edit the Template, because the SNMP Generic / Interfaces and Processors Templates were renamed in Tabbix 6 (?): SNMP Generic SNMP Interfaces SNMP Processors
Genius !!! Thaks a lot
snmp_parse_oid(): cannot parse OID "FREENAS-MIB::zfsPoolName". How i can fix it ?
Hi, Thanks for this a surprising little amount of information on the net to set this up, so thanks for this!
However I'm getting an error "-bash: /root/.snmp/snmp.conf: Permission denied
" on "sudo echo "mibdirs +/root/mibs" >> /root/.snmp/snmp.conf"
I'm running Debian Buster for raspberry Pi, so defaut user is pi and I can't cd to /root with the same error.. any idea?
Edit: Although just to add, I'm getting SNMP data for everything except Network interfaces, RAM and uptime I think..
Hi, thanks for your comment.
If you are operating from your Pi, just do:
sudo su
That will give you access to root account. I think you can pick it up from there)
@@GatewayITTutorials thanks will give it a go!
virtually nothing about zabbix. Should be titled how to get SNMP working on your freenas server
A little harsh, but constructive, you have a point here.
Since I have a ssh config and ssk keys for logging in, I can just run this single command: :D
scp truenas:/usr/local/share/snmp/mibs/FREENAS-MIB.txt /home/user/ && scp FREENAS-MIB.txt zabbix:/usr/local/share/snmp/mibs
Btw, the link in the Video description only displays a 404 page... as well as all the links for the three templates :/
Update:
There is a Template you can download on the TrueNAS Forum (just google "Template_SNMP_TrueNAS_12.zip") that worked for me, however I first needed to edit the Template, because the SNMP Generic / Interfaces and Processors Templates were renamed in Tabbix 6 (?):
SNMP Generic
SNMP Interfaces
SNMP Processors