possible to eliminate the config file

2010-03-01 Thread forumde...@tataelxsi.co.in
Hi,
   Is it possible to eliminate the config file and hard code the values?

Regards,
Forum



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


new errors

2010-03-01 Thread Abigail Rebello
The following files were created:



  snmpd.conf installed in /usr/local/share/snmp

  snmp.conf installed in /usr/local/share/snmp

cccbl:~ # snmpd Dread_config -H 2>&1 | grep "config path" | sort -u

cccbl:~ # snmpd -Dread_config -H 2>&1 | grep "Reading" | sort -u

read_config: Reading configuration /usr/local/share/snmp/snmp.conf

read_config: Reading configuration /usr/local/share/snmp/snmpd.conf

read_config: Reading configuration /var/net-snmp/snmpd.conf

cccbl:~ # snmpd Dread_config -H 2>&1 | grep "config path" | sort -u

cccbl:~ # snmpd -Le -f-Dread_config

Turning on AgentX master support.

: line 0: Warning: Unknown token: Dread_config.

NET-SNMP version 5.5





Abigail Rebello

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


net -snmp - too many config paths

2010-03-01 Thread Abigail Rebello
cccbl:~ # snmpgetnext -cpublic -v2c 172.16.10.88 .1.3

Timeout: No Response from 172.16.10.88.

cccbl:~ # snmpgetnext -cpublic -v3 172.16.10.88 .1.3

snmpgetnext: Timeout

cccbl:~ # 

cccbl:~ # snmpgetnext -cpublic -v3 172.16.10.88 .1.3

snmpgetnext: Timeout

cccbl:~ # snmpd -Le -f-Dread_config

Turning on AgentX master support.

: line 0: Warning: Unknown token: Dread_config.

Error opening specified endpoint "172.16.10.88:161"

Server Exiting with code 1

cccbl:~ # snmpd -Le -f-Dread_config -H 2>&1 | grep "config path" | sort -u

cccbl:~ # snmpd Dread_config -H 2>&1 | grep "config path" | sort -u

cccbl:~ # snmpd -Dread_config -H 2>&1 | grep "config path" | sort -u

read_config:  config path used for 
agentx:/usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/root/.snmp
 (persistent path:/var/net-snmp)

read_config:  config path used for agentx:/var/net-snmp (persistent 
path:/var/net-snmp)

read_config:  config path used for 
snmpd:/usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/root/.snmp 
(persistent path:/var/net-snmp)

read_config:  config path used for snmpd:/var/net-snmp (persistent 
path:/var/net-snmp)

read_config:  config path used for 
snmp:/usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/root/.snmp 
(persistent path:/var/net-snmp)

read_config:  config path used for snmp:/var/net-snmp (persistent 
path:/var/net-snmp)

cccbl:~ # snmpd -Dread_config -H 2>&1 | grep "Reading" | sort -u

read_config: Reading configuration /usr/local/share/snmp/snmp.conf

read_config: Reading configuration /usr/local/share/snmp/snmpd.conf

read_config: Reading configuration /var/net-snmp/snmpd.conf



Please help



Abigail

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


[no subject]

2010-03-01 Thread Abigail Rebello
cccbl:~ # snmpgetnext -cpublic -v1 172.16.10.88 .1.3

Timeout: No Response from 172.16.10.88.

cccbl:~ # snmpgetnext -cpublic -v1 172.16.10.88 1.3

Timeout: No Response from 172.16.10.88.

cccbl:~ # snmpgetnext -cpublic -v1 172.16.10.88 .1.3

Timeout: No Response from 172.16.10.88.



Abigail--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: RE: Re: RE: Help with installation

2010-03-01 Thread Abigail Rebello


Hi,



  cccbl:~ # snmpgetnext -cpublic -v1 172.16.10.88 .1.3

Timeout: No Response from 172.16.10.88.

cccbl:~ # snmpgetnext -cpublic -v1 172.16.10.88 1.3

Timeout: No Response from 172.16.10.88.

cccbl:~ # snmpgetnext -cpublic -v1 172.16.10.88 .1.3

Timeout: No Response from 172.16.10.88.





Attached new snmpd.conf file



Abigail 





On Sat, 27 Feb 2010 05:48:33 +0530  wrote

>



[Redirecting to list]







> From: Abigail Rebello [mailto:bluebriarr...@rediffmail.com]



> Sent: Friday, February 26, 2010 3:02 AM







> I've changed back to net-snmp 5.5..



> cccbl:~/Desktop # netstat -an | grep -i udp



> udp 0 0 0.0.0.0:514 0.0.0.0:*



> udp 0 0 0.0.0.0:899 0.0.0.0:*



> udp 0 0 172.16.10.88:161 0.0.0.0:*







Yep - you've got a daemon running!







> udp 0 0 0.0.0.0:162 0.0.0.0:*



> udp 0 0 0.0.0.0:111 0.0.0.0:*



> udp 0 0 0.0.0.0:631 0.0.0.0:*



> udp 0 0 :::899 :::*



> udp 0 0 :::111 :::*







> cccbl:~/Desktop # snmpwalk -H







That was useless... how about the output of `snmpgetnext -cpublic -v1 
172.16.10.88 .1.3`?







Don't (snmp)walk until you can crawl...







> Also attached new snmpd.conf file.. Not sure why sys is showing two



> now..







Most likely you inadvertently attached it twice. No biggie.











HTH,







Mike









snmpd.conf
Description: Binary data
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Coexistence of Windows agent with HP SIM

2010-03-01 Thread Thomas Anders
Dave Ulrick wrote:
> I'm looking to replace the Microsoft SNMP Service on a number of Windows 2003 
> servers with the Net-SNMP Agent.  This is straightforward unless the 
> Microsoft SNMP Service is depended upon by other services.  On many of our 
> servers, the MS service is depended on by several services from the HP System 
> Insight Manager (SIM) agent

See the chapter "Running Net-SNMP as a replacement for the Microsoft SNMP 
service" in README.win32:

  http://www.net-snmp.org/docs/README.win32.html


+Thomas

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Coexistence of Windows agent with HP SIM

2010-03-01 Thread Dave Ulrick
Hi,

I'm looking to replace the Microsoft SNMP Service on a number of Windows 2003 
servers with the Net-SNMP Agent.  This is straightforward unless the Microsoft 
SNMP Service is depended upon by other services.  On many of our servers, the 
MS service is depended on by several services from the HP System Insight 
Manager (SIM) agent:

HP Insight Foundation Agents
HP Insight NIC Agents
HP Insight Server Agents
HP Insight Storage Agents

I would like to have the Net-SNMP agent listen on the standard SNMP ports (UDP 
161 and 162).  It would be best if HP SIM could be configured to get its SNMP 
data from the Net-SNMP agent instead of the MS agent.  Otherwise, I'd like to 
find a way to have HP SIM get its data from the MS agent while leaving the job 
of fielding outside SNMP gets to the Net-SNMP agent.

Is this doable?  If so, what would be the most straightfoward approach to 
accomplish this?

Incidentally, I want to use the Net-SNMP agent so our SNMP manager (EMC 
SMARTS/Ionix) can fully discover the servers' SNMP agents using V2C.

Thanks,
Dave Ulrick
Northern Illinois University
d-ulr...@niu.edu 




--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users