Please help!!!

2005-01-25 Thread Mike Mohamet
Hi all, I am using net-snmp-5.1.2 I have created my own MIB which defines a single oblect. Although, my MIB module worked perfectly in ucd-snmp-4.2.6, I cannot make it work in the current version. More speciffically, I ahve configured teh agent including the new MIB module and I can see the MI

Traps in net-snmp-5.2

2005-01-19 Thread Mike Mohamet
Hi all, I updated my agent from ucd-snmp-4.2.6 to net-snmp-5.2 and although all the MIBs I had created works ok, the agent seems not to send any traps (Cold start, Authentication failure etc.). I was wondering if there are any further addition I have to make in order to make traps work. Moreove

send_easy_trap

2004-12-21 Thread Mike Mohamet
Hi all, I am using the UCD-SNMP-4.2.6 and I am trying to use the send_easy_trap function in a project that I am developing. Although, I included the header file with the function prototype, I cannot build my application due to a linker error concerning the function definition. (undefined refere

Urgent: mib2c question

2004-12-20 Thread Mike Mohamet
Hi all, Is the mib2c tool capable of creating the skeleton code for a NOTIFICATION-TYPE object? Or I have to write it myself from the beginning? Thanks, Mike --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on

Urgent!!! Sendind SNMP traps

2004-12-16 Thread Mike Mohamet
Hi all, I am using ucd-snmp-4.2.6. I am writing to you in order to certify that the following procedure for generating a trap is correct when a specific event occur. Fitst of I have to creat a MIB file such as the following one which defines the trap. =

sendind traps

2004-12-16 Thread Mike Mohamet
Hi all, I am using ucd-snmp-4.2.6. I am writing to you in order to certify that the following procedure for generating a trap is correct when a specific event occur. Fitst of I have to creat a MIB file such as the following one which defines the trap. =

Traps creation

2004-12-15 Thread Mike Mohamet
Hi all, I am using ucd-snmp-4.2.6 in my workstation PC. I read the tutorial about the UCD-SNMP traps. In this tutorial I have to send the trap in order for the trap handler to dislpay it. I was wondering if there is a way (and documentation about it ) for the agent to automatically send the tr

Problem defining a new mib structure

2004-12-06 Thread Mike Mohamet
Hi all, I am using UCD- SNMP- 4.2.6 and, due to some research that I am performing, I want to replace the existing SMI with a new one. For example, I am trying to replace the mib-2 sub-directory with another one. The replacement works fine and the, snmptranslate -IR -Tp, command returns me the

ppp0 interface

2004-10-18 Thread Mike Mohamet
Hi all I am using ucd-snmp 4.2.6 in my computer. I was wondering if it possible to quere an agent using the ppp0 interface, or in other words using a dial-up connection. Regards, Mike begin:vcard fn:Mike Mochamet n:Mochamet;Mike org:Intracom S.A.;Wagering & POS Systems Development adr;dom:;;;At

snmp object type

2004-08-04 Thread Mike Mohamet
Hi all Can you please tell me what should be the SYNTAX field and the IMPORT, in order to define a hexadecimal string object type in a MIB? Thanks in advance, Mike --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on L

octet string maximum size

2004-08-02 Thread Mike Mohamet
Hi all I am using ucd-snmp 4.2.6 and I am trying to develop my own MIB file. I would like to know what is the maximum size of a string that snmpget command can retreive. I read in the literature that the limitation for snmpget command is the 64k size of a UDP packet, but soon I realized that I

snmpget string problem

2004-07-27 Thread Mike Mohamet
Hi all I am using ucd-snmp 4.2.6 in computer to manage some objects I have created. One of this objects is a string which contains part of a LOG file of the system. Moreover, I am using the output of snmpget to write a new file in my disk. e.g snmpget hostname community my-object > my-lo

snmpget question

2004-07-20 Thread Mike Mohamet
Hi all, For the needs of my company I am creating an experimental MIB file. I would like to ask you if it is possible to use snmpget to retreive a whole file (e.g. log file) from the agent. Thanks in advance, Mike --- This SF.Net email is sp

Re: snmpv3 error

2004-07-19 Thread Mike Mohamet
You are right there was not a line createUser anywhere in the configuration files. I added this line in the snmpd.conf file, but know I am receiving the following reply when I am trying to make a get request: snmpget: Unsupported security level On Monday 19 July 2004 12:52, Dave Shield wrote:

host resources mib problem

2004-07-19 Thread Mike Mohamet
Hi again, For some reason that I do not know I cannot see the object values of the host-resources-mib file, when I am running: either snmpwalk localhost (my rocommunity name) system or snmpwalk localhost (my rwcommunity name) system (as also snmpget for a specific object from this MIB is not wo

snmpv3 error

2004-07-19 Thread Mike Mohamet
Hi all, I am trying to use snmpget in version 3 of snmp. I have configured the agent snmp.conf file as follows: defContext none defSecurityName MyUserName defAuthPassphrase My demo password defVersion 3 defAuthType MD5 defSecurityLevel authNoPriv defprivpassphrase MyPassword defprivtype DES an

snmpd problem

2004-07-19 Thread Mike Mohamet
Hi all I am using ucd-snmp 4.2.6. I configured my snmp.conf file, in order to use the snmpv3, as follows: defContext none defSecurityName myusername defAuthPassphrase mypassword defVersion 3 defAuthType MD5 defSecurityLevel authNoPriv also I have configured in the snmpd.conf, the user which wil

mib directory

2004-07-15 Thread Mike Mohamet
Hi all, I am trying to configure a new mib file in the agent with the (with-mib-modules) option. The directory that the installation is taking place is the /usr/local/share/snmp/. Is there any way to change this directory in to /usr/share/snmp/ Thanks in advance, Mike

Re: FW: snmpset not working

2004-06-29 Thread Mike Mohamet
Hi, The community name you are using for the read only and read write access should be different in order to be able to use the snmpset command. Moreover if you have define the sysContact information in the snmpd.conf file then you are not able to set this value with snmpset command. Hope this

Re: mib file problem

2004-06-24 Thread Mike Mohamet
I still have the problem with my mib file. Although it works perfect in my machine I cannot make it work in any other device that I copy the files. The steps I follow is export MIBS=ALL ./configure --with-mib-modules=my_object make make install Furthemore, I am using the configuration file I am

Re: mib file problem

2004-06-23 Thread Mike Mohamet
No it is not the access because I can get other information from the remote machine such as sysLocation,UpTime etc. On Wednesday 23 June 2004 01:43, Dave Shield wrote: > > I am using ucd-snmp 4.2.6 in my computer. I created a new MIB module in > > order to cover my companies management needs. Bu

MIB configure problem

2004-06-23 Thread Mike Mohamet
Hi all, I created a new MIB txt file with the use of mib2c I created the .c and .h source files. I configured the agent using ./configure --with-mib-modules=my_object_name. Everything was working perfect in my computer. When I decided to transfer the files to another computer I am receiving er

Re: new mib file

2004-06-22 Thread Mike Mohamet
On Tuesday 22 June 2004 10:30, Robert Story wrote: > On Tue, 22 Jun 2004 14:41:25 -0700 Mike wrote: > MM> I am using ucd-snmp 4.2.6 in my computer. I created a new MIB module in > MM> order to cover my companies management needs. But although the module > works MM> perfect in my computer, I cannot

mib file problem

2004-06-22 Thread Mike Mohamet
Dear all, I am using ucd-snmp 4.2.6 in my computer. I created a new MIB module in order to cover my companies management needs. But although the module works perfect in my computer, I cannot make it work in any other machine. I copied my MIB.txt file in the mibs directory and I also copied the

new mib file

2004-06-22 Thread Mike Mohamet
Dear all, I am using ucd-snmp 4.2.6 in my computer. I created a new MIB module in order to cover my companies management needs. But although the module works perfect in my computer, I cannot make it work in any other machine. I copied my MIB.txt file in the mibs directory and I also copied th

snmpd.conf problem

2004-06-10 Thread Mike Mohamet
Hi all The problem I am facing is that, I am running the snmpconf script in order to set up the snmpd.conf file, but the values I am receiving by using snmpset (e.g for system Contact info) appear to be the default ones (e.g [EMAIL PROTECTED]). The file is correctly created at the current direc