1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

snmpd.conf error

Discussion in 'Tomato Firmware' started by Myriddin, Mar 1, 2007.

  1. Myriddin

    Myriddin LI Guru Member

    Hi all,

    I'm start using snmpd as showed in the faq.

    It's works perfectly but i would like to have some more information tthat the mib does not display.

    this is my snmpd.conf
    com2sec public default public
    group public v1 public
    group public v2c public
    group public usm public
    view all included .1
    access public "" any noauth exact all all all
    syslocation location, country
    syscontact root@hostname
    sysservices 15
    exec count_ip_conntrack /bin/sed -n $= /proc/net/ip_conntrack
    and this is my syslog
    Mar  1 01:10:39 Dream-RTW daemon.warn snmpd[10219]: /tmp/snmpd.conf: line 10: Warning: Unknown token: exec. 
    Mar  1 01:10:39 Dream-RTW daemon.info snmpd[10219]: NET-SNMP version 5.0.9 
    i read some sample from http://forum.bsr-clan.de/ftopic1245-0-asc-15.html
    but i have same results also with this sample.

    there is some problem with tomato and exec command?

    i think that the snmpd is the same as for DD-WRT and as far as I know somebody was able to make this .conf running on DD-WRT.
  2. bokh

    bokh LI Guru Member

    Very well possible - but I thinks it's this specific SNMPd-binary on Tomato than the exec.
    I had these same exec-errors before and skipped them from snmpd.conf. Too bad... :mad:

Share This Page