Need help regarding writing AgentX for support SNMP V3 Which running with Apache 2.4 Service.

2021-10-25 Thread Suresh
Hi All My C++ application running(on windows-64 bit application with Apache 2.4 (Daemon )and this application support only SNMP V1 V2 using net-snmp API our C++ application get snmp call (for SNMPGET,SNMP walk using Windows OS provided SNMP Service using ExtensionAgents C:\Windows\system32\snmp

Re: Need help to "drop the response" for a request

2020-09-18 Thread Wes Hardaker via Net-snmp-coders
Magnus Fromreide writes: > If the former then there is no support. Additionally, it would be in violation of the RFC which says a response must be sent when authentication has succeeded. Thus, if someone uses the correct community name or SNMPv3 credentials, they always deserve a response at le

Re: Need help to "drop the response" for a request

2020-09-18 Thread Magnus Fromreide
On Fri, Sep 18, 2020 at 04:39:21PM +0530, Sanjay Kumar wrote: > Hi Net-SNMP team, > Need help on below scenario: > We are handling the Error condition for the SNMP request(get/set) packet > with the below options in the *"subagent"* > &g

Need help to "drop the response" for a request

2020-09-18 Thread Sanjay Kumar
Hi Net-SNMP team, Need help on below scenario: We are handling the Error condition for the SNMP request(get/set) packet with the below options in the *"subagent"* netsnmp_request_set_error(request, SNMP_ERR_NOSUCHNAME); netsnmp_request_set_err

Re: Getting linker error for Net-snmp. Need help

2019-03-06 Thread Magnus Fromreide
On Wed, Feb 27, 2019 at 09:23:40AM +, [email protected] wrote: > Please let me know the fix for the same. Please let us know what you did before the make. How did you invoke configure? Did you run in a clean checkout? > # make > making all in /usr/pkg/src/net-snmp-5.8/snmplib > maki

Getting linker error for Net-snmp. Need help

2019-03-04 Thread Kiran.Nagaraja
Please let me know the fix for the same. # make making all in /usr/pkg/src/net-snmp-5.8/snmplib making all in /usr/pkg/src/net-snmp-5.8/agent making all in /usr/pkg/src/net-snmp-5.8/agent/helpers making all in /usr/pkg/src/net-snmp-5.8/agent/mibgroup /bin/sh ../libtool --mode=link gcc -g -O2 -DNET

Need help: AgentX callbacks not called

2015-09-08 Thread Ulrich Windl
Hi! I need some help finding the missing link for my AgentX subagent: I made an agentX that registers successfully with the master agent, and it registers the MIB object. However for some reason, the master agent seems to know nothing about the MIB, and the provided callback function are not ca

Re: need help for generating ,C file from MIB file

2014-07-08 Thread Bill Fenner
On Wed, Jul 2, 2014 at 6:32 PM, Gaurav Kasliwal wrote: > Hi, > > > > I have created a MIB file > > It is present at path : > > > > [gkasliwal@svl-junos-d072 > /b/gkasliwal/14.2_ib_psd/src/junos/shared/mibs]$ ls | grep jnx-bgpmib > > jnx-bgpmib2.mib > > jnx-bgpmib3.mib > > jnx-bgpmib3_tc.mib > >

need help for generating ,C file from MIB file

2014-07-08 Thread Gaurav Kasliwal
Hi, I have created a MIB file It is present at path : [gkasliwal@svl-junos-d072 /b/gkasliwal/14.2_ib_psd/src/junos/shared/mibs]$ ls | grep jnx-bgpmib jnx-bgpmib2.mib jnx-bgpmib3.mib jnx-bgpmib3_tc.mib I have kept all the mibs files at path : /homes/gkasliwal/.snmp/mibs As well. Now I am givin

Re: Need help loading and traversing MIBs

2014-05-21 Thread Niels Baggesen
Den 14-05-2014 12:05, Odiee47 . skrev: > When trying to print_mib to file the program then fails. > > Any ideas what I did wrong here? Please elaborate "fails". How does it fail? How much did it write to test.txt? Did it even create the file (you should check the return value from fopen) When

Need help loading and traversing MIBs

2014-05-21 Thread Odiee47 .
Hi, I am trying to build an agent that could load specified MIBs and then query selected values. But when I try to print mib information via "print_mib" my application crashes. I'm using this code to load MIB netsnmp_init_mib(); read_all_mibs(); snmp_set_mib_warnings(2); //struct tree *tr = n

need help to update values in mib2c.create-dataset.conf generated code

2012-10-26 Thread Jatin Bodarya
Hello all, Below is my code for 'table'.I am compiling it as a "subagent". Which is getting data from a file. But my issue is it is taking the data from first time only The file "data.txt" is changing its values frequently... But with snmpwalk I can get the only same data all the time..

Need help for ipIfStatsTable

2012-10-08 Thread Madhu Sudhana Rao
Hi, Need help related to ipIfStatsTable. I am using net-snmp 5.6.2 version, I looked at the data-access code for ipSystemStatsTable ( from files /proc/net/snmp or snmp6 and additional stats from /proc/net/netstat . ) I would like to implement ipIfStatsTable on LINUX ipv4. Can anyone help me

snmpd.conf: need help for trigger traps

2012-09-18 Thread Jatin Bodarya
Hello sir, In my snmpd.conf file following lines are generating a trap after 25 seconds, as the value of 1.3.6.1.2.1.6.3 = 12 notificationEvent tcpRtoMax.0 TCP-MIB::tcpRtoMax.0 1.3.6.1.2.1.6.3 monitor -u root -S -t -r 25 "Warn: High Disk Usage" -e tcpRtoMax.0 1.3.6.1.2.1.6.3 - - 9 11999

Need help related to ipIfStatsTable and enabling ipv6

2012-08-01 Thread Madhu Sudhana Rao
Hi, I am using net-snmp 5.6.2 version on Linux system. Need information about ipIfStatsTable of IP-MIB. Earlier I posted a thread related to IP-MIB & UDP-MIB, some one told to see all the tables (including ipifStatsTable) we need to enable ipv6. I enabled ipv6 using ( --enable-ipv6 ) in the ./co

Re: Need help for engineBoots

2011-08-18 Thread Wes Hardaker
> On Thu, 11 Aug 2011 02:01:14 -0400, "Senthil Nathan" > said: SN> The master agent respond with the set/get operation with out any SN> problem.In certain time,the engineBoots value in reponse PDU coming as SN> "1".I have checked the persistent file ,Where the engineBoots value SN> conta

Need help for engineBoots

2011-08-10 Thread Senthil Nathan
Hi All, We have been using the net-snmp-5.4.2.1 version of stack for our project in version 3 based Network Management system. The master agent respond with the set/get operation with out any problem.In certain time,the engineBoots value in reponse PDU coming as "1".I have checked the persi

Need help on v2 traps forwarding and setting agent-ip

2011-04-07 Thread stephan . hemmert
Hello, Stéphan Hemmert Administrateur SI Service Ingénierie de la Surveillance DISFE/DPI/CDC/INS/INSID - Direction Informatique des Services Financiers et de l'Enseigne [email protected] Tél : 04 73 23 81 56 Adr. postale : 5 rue des Clarisses - CS 30033 -67083 Strasbourg Afin

Re: Do you need help about open bugs?

2010-10-25 Thread Wes Hardaker
> On Fri, 22 Oct 2010 21:05:30 +0200, Claus Klein > said: CK> Ok, it seems you have a lot of work, there are 192 unassigned open CK> bugs about the agent. Yes, unfortunately bugs are difficult. Mainly for two reasons: 1) the bug database system leaves a lot to be desired. The SF bu

Do you need help about open bugs?

2010-10-22 Thread Claus Klein
Hi, I have submitted some problem reports, there is no response. Ok, it seems you have a lot of work, there are 192 unassigned open bugs about the agent. But I tried all to help you: I solved most of my open bugs and attached a patch and/or a test script. Now, I do not understand, why nobody

Re: need help to send trap to a specific port using snmptrap command line utility

2010-07-27 Thread Dave Shield
On 27 July 2010 13:29, Nisha Thomas wrote: >  Could you please help me to send trap to a specific port using snmptrap > command line utility. > > I couldn’t find the argument to specify port in the ‘snmptrap’ command. Is > there any way to specify the port in that command? $ man snmpcmd

need help to send trap to a specific port using snmptrap command line utility

2010-07-27 Thread Nisha Thomas
Hi, Could you please help me to send trap to a specific port using snmptrap command line utility. I couldn’t find the argument to specify port in the ‘snmptrap’ command. Is there any way to specify the port in that command? Thanks in Advance,Nisha --

Re: need help for subagent develop /////// ioctl 35123 returned -1

2010-06-22 Thread Robert Story
On Sat, 12 Jun 2010 00:40:33 +0800 Weiwei wrote: WZ> In the implementation, the subagent use container-cache mechanism. WZ> Data are put into containers using CONTAINER_INSERT() function call. WZ> It is at this point after this function call, where this message is WZ> returned. Neither containers

Re: need help for subagent develop /////// ioctl 35123 returned -1

2010-06-11 Thread Weiwei Zhang
yes, root it is. In the implementation, the subagent use container-cache mechanism. Data are put into containers using CONTAINER_INSERT() function call. It is at this point after this function call, where this message is returned. I think there might be some mistake in the inserted data. But not

Re: need help for subagent develop /////// ioctl 35123 returned -1

2010-06-11 Thread Robert Story
On Fri, 11 Jun 2010 14:51:58 +0800 Weiwei wrote: WZ> When I write my own subagent using MFD, i got error msg:* ioctl 35123 WZ> returned -1.* Is the subagent running as root? Have you tried setting a breakpoint where that message is logged, and seeing what the agent is trying to do? -

need help for subagent develop /////// ioctl 35123 returned -1

2010-06-10 Thread Weiwei Zhang
Hi, all When I write my own subagent using MFD, i got error msg:* ioctl 35123 returned -1.* Anybody has encounter this before? Thanks a lot. -- --- Best Regards Weiwei Zhang -- ThinkGeek and WIRED's GeekDad team up for

Re: need help pls - net-snmp Version: 5.1.2

2010-03-25 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 24

Re: need help pls - net-snmp Version: 5.1.2

2010-03-24 Thread Dave Shield
On 23 March 2010 17:12, Guna S wrote: > Our snmp suddenly stopped responding on linux box Is the agent still running? What does ps -ef | grep snmpd report? Is there anything in the logs? What happens if you try to restart the agent? Note that the 5.1.x line is no longer supporte

need help pls - net-snmp Version: 5.1.2

2010-03-24 Thread Guna S
Hi, I need a help from you pls... Our snmp suddenly stopped responding on linux box and when i try to run snmpwalk command on host I'm getting "Timeout: No Response from localhost" message. I just did strace snmpwalk and below is the snipped output. if you can give me any clue that would be helpfu

need help

2010-01-08 Thread Roven liu
Hello I run snmpd in my product like # snmpd -c "/var/net-snmp/snmpd.conf“ -Le & Then come out some error /home/uClinux/ROUTER/snmp/snmpinstall/etc/snmp/snmpd.conf: Invalid argument /home/uClinux/ROUTER/snmp/snmpinstall/etc/snmp/snmpd.local.conf: Invalid argument /home/uClinux/ROUTER/snmp/s

Re: Need Help : duplicate trap entries being received

2009-08-25 Thread Senthil Kumar C
Hi Dave, >> I am trying to generate 20 traps in 5 secs (is this fine/acceptable?) >> > > I've no idea, but it looks as if it might be causing problems. > What happens if you reduce the number of traps, > and/or insert a longer delay between them? > > Inserting delay (1 sec) between them do

Re: Need Help : duplicate trap entries being received

2009-08-25 Thread Dave Shield
2009/8/25 Senthil Kumar C : >> Just to check, please try running snmpwalk on >> the object "snmpTargetAddrTAddress" >> What does that display? >> > > $ snmpwalk -v 2c -c localhost:161 snmpTargetAddrTAddress > SNMP-TARGET-MIB::snmpTargetAddrTAddress.'internal0' = Hex-STRING: 7F 00 00 01 > 00 A2 O

Re: Need Help : duplicate trap entries being received

2009-08-25 Thread Senthil Kumar C
Hi Dave, > Just to check, please try running snmpwalk on > the object "snmpTargetAddrTAddress" > What does that display? > $ snmpwalk -v 2c -c localhost:161 snmpTargetAddrTAddress SNMP-TARGET-MIB::snmpTargetAddrTAddress.'internal0' = Hex-STRING: 7F 00 00 01 00 A2 > You suggested that this mig

Re: Need Help : duplicate trap entries being received

2009-08-25 Thread Senthil Kumar C
Hi Dave, Thanks for the reply. Below is my snmpd.conf file contents : rwcommunity trap2sink 127.0.0.1 master agentx agentaddress 161 agentXSocket tcp:localhost:3456 and this is my subagent.conf file : agentXSocket tcp:localhost:3456 snmpd is started as below: ./snmpd -DH -Lo -f -C -c snmpd.c

Re: Need Help : duplicate trap entries being received

2009-08-25 Thread Dave Shield
2009/8/25 Senthil Kumar C : > Below is my snmpd.conf file contents : [snip] OK - That looks fine. > snmpd is started as below: > ./snmpd  -DH -Lo -f -C -c snmpd.conf -DH is perhaps a bit general, but otherwise this should be fine. Just to check, please try running snmpwalk on the object "sn

Re: Need Help : duplicate trap entries being received

2009-08-25 Thread Dave Shield
2009/8/25 Senthil Kumar C : > This is regarding an issue of duplicate trap entries being received for > every trap sent using send_v2trap(). The most likely cause of this problem would be the contents of the snmpd.conf file. What trap destination settings do you have in this file? Also, how ar

Need Help : duplicate trap entries being received

2009-08-25 Thread Senthil Kumar C
Hi All, This is regarding an issue of duplicate trap entries being received for every trap sent using send_v2trap(). The below was a mail thread I found which discussed the issue of duplicate trap entries being received, which was answered by Robert Story/Dave Shield/Canann. Now I am also fac

Re: Need help in porting the NET-SNMP version 5.x agent to VxWorks.

2009-07-21 Thread Dave Shield
2009/7/6 Sai Satish : > I have been searching through net for information on porting net-snmp onto > vxworks but couldn't find much info. > If someone in here has already done it, can you please provide me with some > info on how to go about porting > and the issues that need to be addressed while

Re: Need help to enable snmp on multiple machines remotely

2009-07-13 Thread Dave Shield
2009/7/13 Sathyamuthy, Ramya : > As u suggested I tried to retrive the DNS server IP and tried to query the > ipNetToMediaTable. But in my DNS server the SNMP is not enabled. Then you would need to enable/configure SNMP on this, or some other widely used server. It doesn't have to be the DNS ser

RE: Need help to enable snmp on multiple machines remotely

2009-07-13 Thread Sathyamuthy, Ramya
MAC address versus IP. Thanks, Ramya -Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Wednesday, July 08, 2009 1:11 PM To: Sathyamuthy, Ramya Cc: [email protected] Subject: Re: Need help to enable

Re: Need help to enable snmp on multiple machines remotely

2009-07-08 Thread Dave Shield
2009/7/7 Sathyamuthy, Ramya : > 2. Using net-SNMP Is there any otherway I can go about to get the IP-MAC > mapping for the entire subnet. Try querying the network router for that subnet. It should have a relatively complete ARP cache, since any device that communicates with anything outside that s

Need help to enable snmp on multiple machines remotely

2009-07-07 Thread Sathyamuthy, Ramya
Hi, We are currently trying to discover the nodes in the network using MAC address. For this we are retrieve the IP and the Mac address mapping from the ipNetToMediaTable. Since this table maintains the data present in the arp cache we are not able to get the mapping for the entire IP range in

Need help in porting the NET-SNMP version 5.x agent to VxWorks.

2009-07-06 Thread Sai Satish
Hi All, I have been searching through net for information on porting net-snmp onto vxworks but couldn't find much info. If someone in here has already done it, can you please provide me with some info on how to go about porting and the issues that need to be addressed while doing so. Thanks in

Re: Need help with MIB creation

2009-05-29 Thread Dave Shield
2009/5/29 Surendra Kumar : > 1. How do I get the number assined for my co. >From the project FAQ: Where can I find more information about network management? -- There are a number of sites with network management information on the Worl

Need help with MIB creation

2009-05-29 Thread Surendra Kumar
Hi, I am new to SNMP and need help with some basic stuff. I have to implement and agent to manager our servers adn we have decided to use Net SNMP libraries for this purpose. I am going to begin with defining the MIB and thats where I need some help. I am planning to define it under

RE: Need help regarding compiling the net-snmp 5.4.2.1

2009-04-01 Thread Pameely Rashid
[email protected] Subject: RE: Need help regarding compiling the net-snmp 5.4.2.1 If you are compiling on a Linux system, you will need to install the following RPMs: - beecrypt-devel - libbeecrypt (upgrade may be needed if beecrypt-devel version installed is newer than existing

RE: Need help regarding compiling the net-snmp 5.4.2.1

2009-04-01 Thread James Hardin
[email protected]] Sent: Tuesday, March 31, 2009 6:20 PM To: Pameely Rashid Cc: [email protected] Subject: Re: Need help regarding compiling the net-snmp 5.4.2.1 2009/3/31 Pameely Rashid : > grep: /usr/lib/libbeecrypt.la: No such file or directory You probably need to instal

RE: Need help regarding compiling the net-snmp 5.4.2.1

2009-03-31 Thread sazid.mahammad
, March 31, 2009 10:50 PM To: [email protected] Subject: Need help regarding compiling the net-snmp 5.4.2.1 Hi, I need some help regarding how to compile the net-snmp 5.4.2.1 I downloaded net-snmp 5.4.2.1 and unpacked it. I ran the configure . now when I do a make in

Re: Need help regarding compiling the net-snmp 5.4.2.1

2009-03-31 Thread Dave Shield
2009/3/31 Pameely Rashid : > grep: /usr/lib/libbeecrypt.la: No such file or directory You probably need to install a missing RPM. (Assuming this is a Linux system - you don't say) There's an entry about this in the FAQ, which lists some of the common missing libraries. Dave

Need help regarding compiling the net-snmp 5.4.2.1

2009-03-31 Thread Pameely Rashid
Hi, I need some help regarding how to compile the net-snmp 5.4.2.1 I downloaded net-snmp 5.4.2.1 and unpacked it. I ran the configure . now when I do a make in the directory. It gives me the following error grep: /usr/lib/libbeecrypt.la: No such file or directory /bin/sed: can't read /us

need help.........

2009-03-03 Thread kayal vizhi
Hai, i am new to snmp(simple network management protocol).i don't know how work and how to test. if anybody help me means it's vary helpful for me.I am planning to go through my carrier 2 nms(snmp) testing.If anybody in this area kindly help me. how 2 study? how 2 test managed devices? how 2

Re: Need Help On Net-SNMP

2008-10-31 Thread Thomas Anders
Ruchi Sharma(IN5962) wrote: > /opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/../../../../armv5tl-montavista-linuxeabi/bin/ld: > skipping incompatible > /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so when > searching for -lperl You

Need Help On Net-SNMP

2008-10-29 Thread Ruchi Sharma(IN5962)
Hi All, I am facing few problems while porting NET-SNMP code. We have done porting and SNMP commands are working for default mibs but for subagent we need mib2c tool that will generate template for .c file (subagent). Some problem we are facing while using this tool like this Problem: /opt/mv_pro_

Need help to configure snmptrapd

2008-10-07 Thread Somdatta Kale
Hi, I don't know whether this e-mail communication would help to resolve my issue. But any help would be really appreciated. We have an application which sends out snmp traps whenever an error occurs. Following is a snmp configuration snippet of application. --

Re: Need help to set boolean object - NetSNMP 5.4.1 Agent

2008-08-18 Thread Wes Hardaker
> On Wed, 30 Jul 2008 01:34:06 +0530, "srenivasan rs" <[EMAIL PROTECTED]> > said: sr> I am trying to set a boolean mib object in Net-SNMP R5.4.1 agent. sr> But, the agent is giving the following error when I try to do snmpWalk sr> on the boolean objects. I have also attached the agent cod

Need help to set boolean object - NetSNMP 5.4.1 Agent

2008-07-29 Thread srenivasan rs
Hi All, I am trying to set a boolean mib object in Net-SNMP R5.4.1 agent. But, the agent is giving the following error when I try to do snmpWalk on the boolean objects. I have also attached the agent code snippet here. I am compiling the agent code using VC++ 2008 express edition. Please let m

Need help in Linking sample nstAgentPluginObject - Dynamically Loadable Object for Net-SNMP Agent

2008-06-13 Thread srenivasan rs
Hi All, I am trying to create a DLL for nstAgentPluginObject sample program given in http://www.net-snmp.org/tutorial/tutorial-5/toolkit/dlmod/nstAgentPluginObject.c using VC++ 2008 Express Edition. == The compilation an

Re: Need Help (Urgent) ---- win32 snmp agent development

2008-04-06 Thread Dave Shield
On 01/04/2008, Md s <[EMAIL PROTECTED]> wrote: > . i want to develop an agent > that'll fetch some storage related data from windows Os > Then using mib2c tool created .c and .h file ( I wanted > to use dlmode). then i found that there is no dlmode support for > windows.. is the

Need Help (Urgent) ---- win32 snmp agent development

2008-04-01 Thread Md s
Hi friends, i am a newbie for net-snmp . i want to develop an agent that'll fetch some storage related data from windows Os. I installed net-snmp 5.4.1 from binaries available and hv created the required MIB defination file. Then using mib2c tool created .c and .h file ( I wanted to use dlmode

about trap(need help)

2007-08-14 Thread zhangyao
i want to receive trap in 192.168.88.82 in snmpd.conf,i added: trap2sink 192.168.88.82 but it shows: C:\Documents and Settings\yao>snmpd No log handling enabled - turning on stderr logging snmpd: create_trap_session: C:/usr/etc/snmp/snmpd.conf: line 462: Error: cannot create trap2sink: 192.16

is it a bug?(need help)

2007-08-11 Thread zhangyao
zhangyao 2007-08-11 发件人: zhangyao 发送时间: 2007-08-11 18:55:50 收件人: net-snmp-coders 抄送: 主题: is it a bug?(need help) i use NET-SNMP cmd tools to add a user and a view for the new user : [EMAIL PROTECTED] root]# snmpusm -t 10 -v 3 -u kschmidt -l authNoPriv -a MD5 -A mysecretpass

is it a bug?(need help)

2007-08-11 Thread zhangyao
i use NET-SNMP cmd tools to add a user and a view for the new user : [EMAIL PROTECTED] root]# snmpusm -t 10 -v 3 -u kschmidt -l authNoPriv -a MD5 -A mysecretpass 192.168.88.82 create testuser yao User successfully created. [EMAIL PROTECTED] root]# snmpvacm -v 3 -t 10 -u kschmidt -l authNoPriv -

Re: trap broadcast(need help)

2007-08-08 Thread Wes Hardaker
> "z" == zhangyao <[EMAIL PROTECTED]> writes: z> but there's sth wrong,how can i broadcast my trap? SNMP isn't designed for broadcasting... It is designed to be delivered to single-recipient addresses only. -- Wes Hardaker Sparta, Inc. -

trap broadcast(need help)

2007-08-05 Thread zhangyao
hi,all i want to broadcast my trap. so in snmpd.conf,i write trap2sink 192.168.88.255 but there's sth wrong,how can i broadcast my trap? thank you in advance for your help. zhangyao 2007-08-05 - This SF.net email is sp

Re: need help: set operation error

2007-07-25 Thread Glenn
zhangyao wrote: > > i'm using net-SNMP agent. > > [EMAIL PROTECTED] root]# snmpset -v 2c -c public 192.168.88.16 > system.sysContact.0 s "yao" > Error in packet. > Reason: notWritable (That object does not support modification) > Failed object: SNMPv2-MIB::sysContact.0 > > why it shows "notW

Re: Re: need help: set operation error

2007-07-25 Thread zhangyao
sysContact is readonly? zhangyao 2007-07-25 发件人: Thomas Anders 发送时间: 2007-07-25 15:16:59 收件人: zhangyao 抄送: net-snmp-coders 主题: Re: need help: set operation error zhangyao wrote: [EMAIL PROTECTED] root]# snmpset -v 1 -c public 192.168.88.16 system.sysContact.0 s "yao" > Error in p

Re: need help: set operation error

2007-07-25 Thread Thomas Anders
zhangyao wrote: [EMAIL PROTECTED] root]# snmpset -v 1 -c public 192.168.88.16 system.sysContact.0 s "yao" > Error in packet. > Reason: (noSuchName) There is no such variable name in this MIB. > Failed object: SNMPv2-MIB::sysContact.0 If you replace "-v 1" with "-v 2c", what response do you get the

need help: set operation error

2007-07-24 Thread zhangyao
hello everyone, i succeed to "get" the sysContact,but when do "set",it shows error [EMAIL PROTECTED] root]# snmpget -v 1 -c public 192.168.88.16 system.sysContact.0 SNMPv2-MIB::sysContact.0 = STRING: YAO ZHANG [EMAIL PROTECTED] root]# snmpset -v 1 -c public 192.168.88.16 system.sysContact.0 s

Need help regarding snmp log

2007-07-18 Thread Senthil Nathan
ever we make the set query,the corresponding snmp table handler called 2 times continously then third time only, it process the query request.At the same time,in the application console side we got " Connection from ".We need to mute this snmp log. I need help from you regarding thi

Re: (vxWorks support)need help

2007-06-25 Thread Robert Story
On Mon, 25 Jun 2007 18:45:37 +0800 zhangyao wrote: Z> whether the snmpd can change to run on vxworks? Yes, it can be done. You have the source, you just have to figure out what needs to be changed. You probably want to start by configuring with --enable-mini-agent, to exclude most of the mib modul

Need help of implementing table

2006-11-11 Thread Balamurugan V
Hello, I am new to this group and net-snmp, I am trying to implement a table with two objects and three indices. I am just trying to fill the stub values for testing purpose, querying the Table returns the error "No Entries". Kindly look at the code and comment whether I am implementing the "get_

Need help of implementing table

2006-11-10 Thread Balamurugan Vengattasubbun
Hello, I am new to this group and net-snmp, I am trying to implement a table with two objects and three indices. I am just trying to fill the stub values for testing purpose, querying the Table returns the error "No Entries". Kindly look at the code and comment whether I am implementing the "get_

Re: need help

2006-03-14 Thread Wes Hardaker
> On Fri, 10 Mar 2006 20:58:30 -0800 (PST), "Chandra Sekhar .V" <[EMAIL > PROTECTED]> said: Chandra> Total # of 'physical" Ports (based on chassis and cards) Chandra> Total # of "available" Ports (something connected) Chandra> Total # of "unavailable" Ports (nothing connected) Chandra>

need help

2006-03-14 Thread Chandra Sekhar .V
Need help! Using a Perl script (which I'm not very familiar with) to execute SNMP commands to retrieve specific information from all my network elements.  For instance, total, available and unavailable number of physical ports. My challenge is this - I need to query each device (r

Need help with illogical "exec"-behaviour!

2006-01-09 Thread Thomas Kindermann/KRZN/DE
Hallo everybody! I've a problem with the „exec“-command on ucd- /net-snmp! I've added the following command to the snmpd.conf: exec .1.3.6.1.4.1.2021.50 cpuload /usr/share/snmp/cpu „cpu“ is a own C-program which calculates the cpu-load in percent for each cpu out the counters in /pro

Re: Need help with net-snmp rpm spec file

2005-06-17 Thread Robert Story
On Fri, 17 Jun 2005 09:59:36 +0100 Dave wrote: DS> On Tue, 2005-06-14 at 22:51, Chuck Cottrill wrote: DS> > Can anyone direct me to an rpm spec file for net-snmp to construct a DS> > binary net-snmp package? DS> DS> There's one in the net-snmp-5.2.1-1.src.rpm on the project download DS> page, whic

Re: Need help with net-snmp rpm spec file

2005-06-17 Thread Dave Shield
On Tue, 2005-06-14 at 22:51, Chuck Cottrill wrote: > Can anyone direct me to an rpm spec file for net-snmp to construct a > binary net-snmp package? There's one in the net-snmp-5.2.1-1.src.rpm on the project download page, which is used to build the binary RPMs that we distribute. Dave ---

Need help with net-snmp rpm spec file

2005-06-16 Thread Chuck Cottrill
Can anyone direct me to an rpm spec file for net-snmp to construct a binary net-snmp package?   I have the net-snmp-5.2.1 source package and have successfully built it on my system. I need to be able to deploy net-snmp to a large number of systems, and I want to provide an RPM binary pa

Re: Need help regarding snmptrapd.conf

2005-01-27 Thread Alex Burger
3 cc PM[EMAIL PROTECTED] et Subject

Re: Need help regarding snmptrapd.conf

2005-01-27 Thread RajChandrasekaran
et Subject Re: Need help regarding snmptrap

Re: Need help regarding snmptrapd.conf

2005-01-24 Thread Alex Burger
[EMAIL PROTECTED] wrote: hi friends , Is it possible to send the name of the interface as an argument to the perl script we call in TRAPHANDLE command?? I have something like this in my snmptrapd.conf file and it works fine . traphandle IF-MIB::linkDown /home/rchand/mail/sendmail.pl down

Need help regarding snmptrapd.conf

2005-01-24 Thread RajChandrasekaran
hi friends , Is it possible to send the name of the interface as an argument to the perl script we call in TRAPHANDLE command?? I have something like this in my snmptrapd.conf file and it works fine . traphandle IF-MIB::linkDown /home/rchand/mail/sendmail.pl down But i also like to k

Re: need help with configure.in

2004-09-28 Thread Andy Smith
Bruce Shaw wrote: I'm working on lmsensors. Configure.in has a section of code that checks to see if sensors/sensors.h is available before letting you bash about with lmsensors. Problem is, I don't need it for Solaris. I'm doing it completely differently. Now I found how to do Solaris-specific t

need help with configure.in

2004-09-28 Thread Bruce Shaw
I'm working on lmsensors. Configure.in has a section of code that checks to see if sensors/sensors.h is available before letting you bash about with lmsensors. Problem is, I don't need it for Solaris. I'm doing it completely differently. Now I found how to do Solaris-specific things... case $t

Re: need help with proof of concept code

2004-09-22 Thread Konrad Rzeszutek
The main problem is that you are copying the pointer values of result readdir is giving you. And the pointer points to the string value, which changes everytime read-dir is invoked. Look below for a fix: On Tuesday 21 September 2004 11:35 am, Bruce Shaw wrote: > I'm working on the partitions p

Re: need help with proof of concept code

2004-09-22 Thread Coders
On Tue, 21 Sep 2004 09:35:12 -0600 Bruce wrote: BS> char dname[21]; BS> unlink(dname); As you discovered, unlink is for deleting file. You were probably thinking of free(), which frees memory. But you don't need that either, since dname is a an global array , not an allocated one. BS> When I

RE: need help with proof of concept code

2004-09-21 Thread Bruce Shaw
Title: RE: need help with proof of concept code Found one problem anyway... >    unlink(dname); Bad news.  I thought I was decoupling memory (no, I have no idea what I mean by that).  Actually, I was deleting the link. This communication is intended for the use of the recipient

need help with proof of concept code

2004-09-21 Thread Bruce Shaw
Title: need help with proof of concept code I'm working on the partitions problem in HOST-RESOURCES-MIB for Solaris.  As it stands, the code is making all sorts of wrong decisions about which partition it's supposed to be using.  I'm trying to write a simple stand-alone p