Hi there

I am running Net-SNMP (V 5.6.1.1-1, installed by net-snmp-5.6.1.1-1.x86.exe)
on a Windos 2003 Server.
I am building a base-image that will be used on several server. Some of
these servers have additional hardware installed, some of them have
databases an so on - and these servers as well as some of these optional
parts/software-packages will be monitored by SNMP.

So the goal is to build a setup which allows to query values from 3
different sources:

a) ... from script-written textfiles on the Server-Harddisks
   (using the extend in snmpd.conf)

b) query some values from the original MS SNMP-Agent
   (for example: uptime)

c) values which are generated/coming from vendor-specific extensions,
for example: the speed of the a fan in a HP/compaq DL380 G4 server.


Now I am unsure how to config snmpd.exe to achive this.

a) and b) seems to work fine - but I am struggeling with c):


I suppose the following:
Most of the additional hardware and/or software that will installed on these
servers is SNMP-ready, that means:
Using the MS SNMP-Agent, I could also query specific values from these
additional hw/sw.
(for example: fan speeds of mainboard, and so on).
In my understanding, the additional hw/sw links in a way to the MS
SNMP-Agent.

Now - as I want to query some values written in scriptfiles also - see a)
above - I have decided to use net-snmp as intermediate between the
SNMP-monitoring-software and the MS SNMP-Agent on the servers.
If the monitoring software request a OID which I defined in a extend-command
in snmpd.conf,
it should return this value.

In any other case, it should handle the request to the MS SNMP-Agent.
(Then the MS SNMP-Agent can answer the request himself or by querying some
of the "handlers" installed by the additional hw/sw).


The question/problem now is:
How do I configure net-snmp for this?

Have read quite a lot in the helpiles and googeling, I think the solution is
in the start-parameter -D of snmpd.exe

I have found some examples and they all work in one way or the other, but I
am not sure which one to choose ...

In the helpfile, on Readme.win32, I found:

   snmpd.exe -Ivacm_conf,proxy,pass,pass_persist

-> this proxies everything to the MS SNMP-Agent, I can't get back the values
for the extend-statments in the snmpd.conf file

I found also this one:

   snmpd.exe -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysO
RTable

...with the following hint: The above command will exclude all the Net-SNMP
extensions that overlap with the default Windows (2003) extensions included
with Windows. Other Net-SNMP modules take precedence over the modules loaded
by winExtDLL.
-> based on this hint, net-snmp would intercept queries for additional
hw/sw - SNMP-providers on the server ....


I think that I should positively enumarate the extensions which snmpd.exe
should load.
But I don't know which ones I have to load that snmpd.exe is forced to pass
throuh everything to the MS SNMP-Agent,
except for the OIDs I defined in the snmpd.conf-file by extend ...

Any help on this would be appriciated.
Maybe I have missunterstood something.
Thanks a lot in advance!



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to