snmpset under linux - SNMP

This is a discussion on snmpset under linux - SNMP ; hello i have a problem with net-snmpd version 5.1.2-6 under debian. but suse sles 9 has the same effekt ich would like change values with snmpset here is my snmpd.conf -------------------------------------------------------- com2sec lesen default public com2sec schreiben default geheim group ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: snmpset under linux

  1. snmpset under linux

    hello

    i have a problem with net-snmpd version 5.1.2-6
    under debian. but suse sles 9 has the same effekt

    ich would like change values with snmpset
    here is my snmpd.conf
    --------------------------------------------------------
    com2sec lesen default public
    com2sec schreiben default geheim
    group lese-gruppe v1 lesen
    group lese-gruppe v2c lesen
    group lese-gruppe usm lesen
    group schreib-gruppe v1 schreiben
    group schreib-gruppe v2c schreiben
    group schreib-gruppe usm schreiben
    view all included .1 80
    view system included .iso.org.dod.internet.mgmt.mib-2.system
    access lese-gruppe "" any noauth exact all none none
    access schreib-gruppe "" any noauth exact all all none
    ----------------------------------------------------------

    the request looks ok

    curson:/etc/snmp# snmpwalk -Os -c geheim -v 2c localhost | grep ontact
    sysContact.0 = STRING: root


    but when I want to set a value it fails :-(


    curson:/etc/snmp# snmpset -c geheim -v 2c curson.alpha.quadrant s
    sysContact.0 terminator
    Error in packet.
    Reason: notWritable (that object does not support modification)
    Failed object: SNMPv2-SMI::snmpV2

    where is my error

    regards
    --
    - thomas will -
    - xinux -- networking -- security -- consulting -- training -
    - suse certified linux professional -- lpi level 2 certified -
    - fon 06332 44040 -- fax 06332 44041 -- mobil 0170 52 18 548 -
    - 66482 zweibruecken -- wichernstr.18 -- http://www.xinux.de -

  2. Re: snmpset under linux

    Thomas Will wrote:
    > hello
    >
    > i have a problem with net-snmpd version 5.1.2-6
    > under debian. but suse sles 9 has the same effekt
    >
    > ich would like change values with snmpset
    > here is my snmpd.conf
    > --------------------------------------------------------
    > com2sec lesen default public
    > com2sec schreiben default geheim
    > group lese-gruppe v1 lesen
    > group lese-gruppe v2c lesen
    > group lese-gruppe usm lesen
    > group schreib-gruppe v1 schreiben
    > group schreib-gruppe v2c schreiben
    > group schreib-gruppe usm schreiben
    > view all included .1 80
    > view system included .iso.org.dod.internet.mgmt.mib-2.system
    > access lese-gruppe "" any noauth exact all none none
    > access schreib-gruppe "" any noauth exact all all none
    > ----------------------------------------------------------
    >
    > the request looks ok
    >
    > curson:/etc/snmp# snmpwalk -Os -c geheim -v 2c localhost | grep ontact
    > sysContact.0 = STRING: root
    >
    >
    > but when I want to set a value it fails :-(
    >
    >
    > curson:/etc/snmp# snmpset -c geheim -v 2c curson.alpha.quadrant s
    > sysContact.0 terminator
    > Error in packet.
    > Reason: notWritable (that object does not support modification)
    > Failed object: SNMPv2-SMI::snmpV2
    >
    > where is my error
    >
    > regards

    hello
    curson:/etc/snmp# snmpset -c geheim -v 2c curson.alpha.quadrant
    sysContact.0 s terminator
    i have found my error the syntax was wrong
    regards



    --
    - thomas will -
    - xinux -- networking -- security -- consulting -- training -
    - suse certified linux professional -- lpi level 2 certified -
    - fon 06332 44040 -- fax 06332 44041 -- mobil 0170 52 18 548 -
    - 66482 zweibruecken -- wichernstr.18 -- http://www.xinux.de -

+ Reply to Thread