Re: system name

2007-08-29 Thread Nikolett C
Hi Everyone! So, this is hostname in a predefined MIB: sysName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..255)) MAX-ACCESS read-write STATUS current DESCRIPTION "An administratively-assigned name for this managed node. " ::= { system 5 } To MY-MIB I have to write this, if I'm not mistaken

Re: system name

2007-08-03 Thread Dave Shield
On 03/08/07, Nikolett C <[EMAIL PROTECTED]> wrote: > I can now get (and also set) a string in my new MIB, but for this 'hostname' > object it is me that gives the value. I'd need the computer to give it You're providing the code that implements this particular object. Add code to the handler routi

system name

2007-08-02 Thread Nikolett C
Hi, I'd like to get the system name (hostname) of the computer: not from an already existing MIB (from SNMPv2-MIB::sysName.0 - it works), but from my own. I can now get (and also set) a string in my new MIB, but for this 'hostname' object it is me that gives the value. I'