AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

AIX 6.1 & the "exec"-option in the snmpdv3.conf

  • 1.  AIX 6.1 & the "exec"-option in the snmpdv3.conf

    Posted Fri December 03, 2010 01:28 AM

    Originally posted by: xcyvxccx


    Hi

    I'm trying to configure the AIX 6.1-snmpd-Agent (snmpdv3ne) with the exec-directive, to request a specific oid (.1.3.6.1.4.1.2021.8.1) and get back the result of a shellscript.

    In my snmpdv3.conf I have the following entry:

    
    exec freemem /usr/local/bin/freemem.sh
    


    When I start the snmpd-Daemon with startsrc -s snmpd, I always got the following errormessage in the snmpdv3.log back:

    
    ... snmpd: 1473-148 Line number 178 contains an unsupported keyword : exec. ...
    


    I also tried with the directive "pass" or "extend". But it's always the same error. Then I tried with the snmpdv1-daemon -> also no success.
    Could it be, that the option "exec" isn't compiled in the snmpv3ne-daemon? We use the standard-snmpv3-daemon which comes within the fileset "bos.net.tcp.client" -> so no additional RPM's.

    Any hints?
    Thanks a lot.
    Hannes


  • 2.  Re: AIX 6.1 & the "exec"-option in the snmpdv3.conf

    Posted Thu December 09, 2010 03:30 AM

    Originally posted by: xcyvxccx


    Hi

    The problem is still existing.
    Has someone any hints?

    Thanks in advance.
    Hannes