I have some problem wen install the packe t net-snmp-5.4-1.src.rpm

2007-02-09 Thread bahamute
Hello : I have some problem wen install the packet : net-snmp-5.4-1.src.rpm (I download from www.net-snmp.org) . First time , I log with root ,when I install it , it display like below: [EMAIL PROTECTED] tmp]# rpm -ivh net-snmp-5.4-1.src.rpm 1:net-snmp warning: user

Re: receiving authentication failures through agentx

2007-02-09 Thread Dave Shield
On 09/02/07, Alex Jones [EMAIL PROTECTED] wrote: The only issue with this is that we'd like to know the username and source IP address of the offending packet. It doesn't look like this is available from the AUTH_FAIL trap. Correct. Though there is a submission in the Patches tracker to add

Re: ERROR IN PACKET

2007-02-09 Thread Dave Shield
On 09/02/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: DURING SNMPWALK COMMAND I GOT THIS ERROR..WHAT IS THE SOLUTION.. Error in packet. Reason: (genError) A general failure occured The agent didn't like something about the request. A somewhat vague answer, I know - but it matches the

Re: I have some problem wen install the packe t net-snmp-5.4-1.src.rpm

2007-02-09 Thread Dave Shield
On 09/02/07, bahamute [EMAIL PROTECTED] wrote: I have some problem wen install the packet : net-snmp-5.4-1.src.rpm (I download from www.net-snmp.org) . First time , I log with root ,when I install it , it display like below: [EMAIL PROTECTED] tmp]# rpm -ivh net-snmp-5.4-1.src.rpm

Re: Sending notification

2007-02-09 Thread Treesa Fairy Joseph
I tried it and it is working fine.. Thanks .. On Thu, 8 Feb 2007 11:05:51 +, Dave Shield wrote On 08/02/07, Treesa Fairy Joseph [EMAIL PROTECTED] wrote: The site says how to compile it if u r compiling from the source, It says When this module is compiled into the agent (run configure

starting snmpd with multiple configuration files

2007-02-09 Thread Amita Mhaskar
Hi, I tried starting snmpd from net-snmp-5.3.1 by specifying multiple configuration files. The syntaxes that I tried are as follows: 1) /opt/internal/bin/snmpd -p /opt/internal/var/run/snmpd.pid -c /ffs/etc/snmpd.conf,/usr/local/share/snmp/snmpd_persistent.conf 2) /opt/internal/bin/snmpd -p

Re: starting snmpd with multiple configuration files

2007-02-09 Thread Dave Shield
On 09/02/07, Amita Mhaskar [EMAIL PROTECTED] wrote: I tried starting snmpd from net-snmp-5.3.1 by specifying multiple configuration files. 1) /opt/internal/bin/snmpd -p /opt/internal/var/run/snmpd.pid -c /ffs/etc/snmpd.conf,/usr/local/share/snmp/snmpd_persistent.conf That would work - either

Re: Preventing users from writing into SnmoUsmMib and SnmpVacmMib

2007-02-09 Thread Dave Shield
On 08/02/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Once I have all these details, I will be writing these details into snmpd.conf and will be sending a SIGHUP signal to re-read the snmpd.conf. Why not just update the USM and VACM tables directly? That way there would be no need to touch

Re: Sending traps with dynamic destinations

2007-02-09 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On

Re: Problem using net-snmp as subagent (Error in packet)

2007-02-09 Thread Dave Shield
On 08/02/07, Johnny Ljunggren [EMAIL PROTECTED] wrote: I'm pretty sure that the problem lies in the encoding of the OID .0.0, Any progress? Sorry - paid work got in the way :-( Can you try turning on packet dumps in the subagent and issue a GET request for one of the offending instances.

SNMP GET ERROR

2007-02-09 Thread [EMAIL PROTECTED]
HI.. DURING SNMPGET OPERATION I GOT THIS RESULT.. SNMPD ALSO RUNNING... snmpget -v 2c -c public localhost .1.3.6.1.2.1.10.184.1.1.1.1.1.6 WMAN-IF-MIB::wmanIfBsSfCsSpecification = No Such Instance currently exists at this OID THIS IS MY CONF FILE... ANY CHANGES IN CONF FILE..PLEASE LET ME KNOW

auditing of SETs

2007-02-09 Thread Alex Jones
Hello all. Another thing that I'm interested in doing is auditing of SETs (ie when a USM user sets a particular OID, log the username and source IP address of the packet along with the OID which was set.) These OIDs are registered via AgentX, and in trying to get this auditing to work it doesn't

Re: SNMP GET ERROR

2007-02-09 Thread Dave Shield
On 09/02/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: snmpget -v 2c -c public localhost .1.3.6.1.2.1.10.184.1.1.1.1.1.6 WMAN-IF-MIB::wmanIfBsSfCsSpecification = No Such Instance currently exists at this OID It would be a lot easier to help you if you supplied a copy of the WMAN-IF-MIB file.

Re: auditing of SETs

2007-02-09 Thread Dave Shield
On 09/02/07, Alex Jones [EMAIL PROTECTED] wrote: it doesn't look like the username and source IP address of the packet are being preserved across AgentX. That's correct. An AgentX subagent does not have access to this information. It's not part of the AgentX protocol. Dave

Re: SNMP GET ERROR

2007-02-09 Thread Dave Shield
On 09/02/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: HERE I HAVE ATTACHED MY WMAN-IF MIB- TXT FILE FRO YOUR REFERENCE.. PLEASE FIND ATTACHED FILE... Thanks. That's confirmed my guess. .1.3.6.1.2.1.10.184.1.1.1.1.1.6 is indeed the OID of the MIB object

Re: I have some problem wen install the packe t net-snmp-5.4-1.src.rpm

2007-02-09 Thread Thomas Anders
bahamute wrote: [EMAIL PROTECTED] tmp]# rpm -ivh net-snmp-5.4-1.src.rpm [...] I want to know why I can not install it correctly ? Because my machine could not install a compiler . if I install the packet : net-snmp-5.4-1.src.rpm , can my subagent run in this machine ?(I

Table dataset problem

2007-02-09 Thread Pilt
Hello all I'm writing a module based on the create-dataset.conf template. Here's the piece of the code: netsnmp_table_data_set *table_set; // global void initialize_table_commTable(void) { static oid commTable_oid[] = {1,3,6,1,4,1,27142,1,10,1}; size_t

Problems with tables

2007-02-09 Thread Rheaume Ed
I seem to have a problem with some of my table requests extending beyond the end of the table and accessing a different OID tree (as highlighted in red and with an arrow). When I run snmpd in debug I can see the following output when I make a request for table 5271.3.105.4.3.2.2.2.1:

Re: Problem using net-snmp as subagent (Error in packet)

2007-02-09 Thread Johnny Ljunggren
Dave Shield wrote: I'm pretty sure that the problem lies in the encoding of the OID .0.0, Any progress? Sorry - paid work got in the way :-( No worries. BTW: I'm willing to pay to get this sorted though. Can you try turning on packet dumps in the subagent and issue a GET request for one

Re: auditing of SETs

2007-02-09 Thread Alex Jones
Thanks Dave. So, possible solutions to this are: 1) move MIBs into the agent itself, and not use AgentX 2) modify AgentX itself to pass this information through 3) something else? Alex On Fri, 2007-02-09 at 11:35 +, Dave Shield wrote: On 09/02/07, Alex Jones [EMAIL PROTECTED] wrote:

Re: auditing of SETs

2007-02-09 Thread Dave Shield
On 09/02/07, Alex Jones [EMAIL PROTECTED] wrote: So, possible solutions to this are: 1) move MIBs into the agent itself, and not use AgentX Yes. 2) modify AgentX itself to pass this information through No. It's a standard - you can't just change it! 3) something else? See 1) Dave

perl / translateObj

2007-02-09 Thread Stuart Kendrick
hi, i would like to translate an OID into an Object Value: guru snmptranslate .1.3.6.1.4.1.9600.1.1.5.1.1.1.48 INFORMANT-STD::cpuInstance.0 guru when i try this in Perl, i don't see the results i was expecting: guru cat test #!/usr/bin/perl use strict; use warnings; use SNMP; use Perl6::Say;

CPU counters (ssCpuRaw*) on machines with multiple CPUs?

2007-02-09 Thread kabbalah74-unsec
I'm wondering if there are any plans to implement the ssCpuRaw* counters in the UCD-SNMP MIB on a per CPU basis? I found a few posts about this in the archives, but nothing recently. Regards, Krisztian - Using

Re: [AGENT++] Best way to update sysContact++

2007-02-09 Thread Johnny Ljunggren
Hello What is the best way of updating sysContact and siblings during run-time? I'm trying to read snmpd.conf to get syscontact/syslocation and then set those values for my agent. snip some code I may be mistaken but I'm not sure how that example is applicable in my situation. I have used the

REGARDING PARSING FUNCTION

2007-02-09 Thread [EMAIL PROTECTED]
HI.. I HAVE ONE DOUBT IN USING PARSING FUNCTION... NOW MY OID IS 1.3.6.1.2.1.10.184 I WANT TO CHANGE MY OID LIKE THIS 1_3_6_1_2_1_10_184...SO I DONT KNOW HOW TO USE THIS FUCNTION...AND WHERE I HAVE TO CHANGE AND WHICH FILE IN SNMP...PLEASE LET ME KNOW