SNMP NUT not working (Fixed in 2.2-Release)



  • So I'm unable to get NUT to now communicate with my SNMP card in my battery backup after the update.
    I see the post here…. https://forum.pfsense.org/index.php?topic=53308.0
    but I don't understand? I need to create a rule on my LAN to battery backup? I already have a catch all rule?

    Can someone help me out here? I'd really like to have my firewall property shut down when there is a power outage.



  • bump



  • You're not the only one having issues.  I installed the new version of NUT and SNMP is not working for me either.  It had been working fine before the upgrade.

    Also, I think the reference you were reading was if you were using pfSense as the NUT server for other computers or devices.



  • Good to know there is someone else.
    BUMP!

    Some help would be GREATLY appreciated!



  • Crazy part is NUT wasn't working on my FreeNAS box until update 9.3 and now it is working. I configured NUT on FreeNAS to act as a remote server and told PfSense to connect to it and it works. Go figure.

    So PfSense is now NOT connecting to snmp UPS devices but IS connecting to remote NUT servers.

    NUT IS BROKE! for local snmp devices.



  • So I am unable to start due to missing files.  This seems to be the cause.

    starting snmp-ups
    /usr/local/etc/rc.d/nut.sh: /usr/local/sbin/upsdrvctl: not found
    snmp-ups failed to start
    


  • I am also unable to start NUT since the upgrade to 2.6.5_1 pkg 2.0.4.  I am running pfSense 2.1.5-RELEASE (i386).  Nothing has changed in my UPS SNMP setup or pfSense NUT configuration.  This is all I get in syslog from pfSense:

    php: nut: Starting service
    php: nut: Service failed to start: check configuration

    It would be really nice to have this package working with SNMP again.



  • There is a problem with the package, but it's a simple fix. Either ssh into your pfsense box or bring up a root shell on the console and do the following:

    /etc/rc.conf_mount_rw
    ln -s /usr/pbi/nut-i386/libexec/nut/upsdrvctl /usr/local/sbin/upsdrvctl
    /etc/rc.conf_mount_ro
    

    Then restart nut and it should start successfully.



  • @wwwdrich:

    There is a problem with the package, but it's a simple fix. Either ssh into your pfsense box or bring up a root shell on the console and do the following:

    /etc/rc.conf_mount_rw
    ln -s /usr/pbi/nut-i386/libexec/nut/upsdrvctl /usr/local/sbin/upsdrvctl
    /etc/rc.conf_mount_ro
    

    Then restart nut and it should start successfully.

    That worked for me.  Thank you!



  • This is fixed and working and 2.2 Release


Log in to reply