SNMP Agent\Client on Firewalla Gold Plus - What I did that worked.

Comments

13 comments

  • Avatar
    Mug Gismos

    Also, here's what's being reported to my SNMP manager, Observium CE.

    0
    Comment actions Permalink
  • Avatar
    Mug Gismos

    Temperatures as well.

    0
    Comment actions Permalink
  • Avatar
    Andy brown

    when trying to add the firewall box to observium using the ./add_device command. keep getting
    No reply on given community *** using v2c.
    Could not reach 192.168.XX.XX with given SNMP parameters using v2c.
    Devices failed: 1.

    Followed the above instructions, it’s not difficult to install and configure.

    Did you follow the observium installation from the website. I installed onto a Proxmox virtual machine. The web interface is up and running, but again I can’t add firewalla.

    Thanks for any advice.

    Andy

    0
    Comment actions Permalink
  • Avatar
    Mug Gismos

    Hi Andy,

    Try toggling the “icmp echo check” setting right there when you’re setting up the new device in Observium. On my phone/remote right now or I’d send you a screenshot. Let me know how it goes.

    Edit: To answer your questions directly. 

    1. Yes, I did follow the instructions on the Observium CE site and have been running and successfully upgrading it for about 6 years. Lots of customizations.

    2. As for adding devices, I add all my devices through the web interface using the Devices\Add Device menu. I host a DNS on my network, have an internal domain (e.g. mydomain.com) and use fully qualified domain names, as opposed to IPs, when adding devices to Observium. A typical device add on my setup looks like this:

    If you're entering similar information into your "Add Device" dialog and are still not able to add your Firewalla or other devices, we can dig a little deeper into how you're doing name resolution and also take a look at how or if you have your search domain set up.

    0
    Comment actions Permalink
  • Avatar
    Andy brown

    Thanks for the input, but that didn’t work. I have other Linux boxes I’m going to configure and see lf I can reach them. I’ll mess around for a few days and let you know.

    Thanks again

    Andy

    0
    Comment actions Permalink
  • Avatar
    Andy brown

    All sorted. It was a typo in the end, that I must have looked at a 1000 times, it just didn’t register… 😁

    0
    Comment actions Permalink
  • Avatar
    Josh

    I'm not a linux expert, but this is probably just something super simple:

    I get the following error after I run sudo apt-get -y install snmpd.

    Any ideas folks?

    pi@firewalla:/etc (2038-FW) $ sudo apt-get -y install snmpd
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies:
     libssl-dev : Depends: libssl1.1 (= 1.1.1-1ubuntu2.1~18.04.15) but 1.1.1-1ubuntu2.1~18.04.5 is to be installed
     snmpd : Depends: libsnmp30 (= 5.7.3+dfsg-1.8ubuntu3.8) but it is not going to be installed
             Depends: libsnmp-base but it is not going to be installed
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

    0
    Comment actions Permalink
  • Avatar
    Firewalla

    Look at the last line, did you try that? 

    0
    Comment actions Permalink
  • Avatar
    sidjohn1

    Adding an updated snmpGO.sh script, in case anyone reboots their Firewalla and SNMP stops working.
    I found that apt-get will stop and ask you what to do with your config w/o the addition options... and not complete.

    #!/bin/bash
    unalias apt
    unalias apt-get
    sudo apt-get update
    sudo apt-get -y install -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' snmpd
    sudo rm /etc/snmp/snmpd.conf
    sudo cp /home/pi/.firewalla/config/post_main.d/snmpd.conf /etc/snmp/snmpd.conf
    sudo service snmpd restart
    0
    Comment actions Permalink
  • Avatar
    Dave Taylor

    Has anyone used this with Home Assistant?  From the HA page on SNMP, https://www.home-assistant.io/integrations/snmp/ it looks like it's a fairly awkward manual setup process where you need to snmpwalk the Firewalla to find the OIDs and then write a YAML config for each sensor you need.

    0
    Comment actions Permalink
  • Avatar
    sidjohn1

    Yes, i am along with the upnp integration. Yes, SNMP is old school or awkward if you like. Most OID’s are very standard and will work across most devices. If you're not sure what you are looking for, you are correct snmpwalk is the correct tool to fiquire it out.

    There are plenty of good freeware snmpwalk gui tools to make the walk easier, but personal or professional use, snmp is something you earn.

    0
    Comment actions Permalink
  • Avatar
    Dave Taylor

    I'm familiar with SNMP, I was just wondering if the setup for HA was as awkward as it seems from the HA docs (manually configuring each sensor by OID in YAML) or whether there's some more automated way to do it because there seem to be quite a lot of sensors to set up.

    0
    Comment actions Permalink
  • Avatar
    sidjohn1

    They only automated way i know to config YAML in HA is AI.

    0
    Comment actions Permalink

Please sign in to leave a comment.