in reply to Reporting state of your app via SNMP (on Win32)

I'm not sure from your question about what you actually want to do with SNMP. Have you tried looking at the Net::SNMP module on CPAN?
  • Comment on Re: Reporting state of your app via SNMP (on Win32)

Replies are listed 'Best First'.
Re^2: Reporting state of your app via SNMP (on Win32)
by Eyck (Priest) on Aug 02, 2007 at 11:53 UTC
    With Net::SNMP main concern is reading data from some server in the network.

    The question is - how can I export that data, so that someone using for example Net::SNMP is able to read it?

    In other words - I need to be able to act as a SNMP server, but since you normally already have SNMP agent running (be it Windows Agent or unixish snmpd daemon), ones needs a way of exporting some variable via that previously-running daemon.

    To do that, you need some way of plugging into that daemon..., I hope I cleared it up.

      Eyck:

      Google for information about the WMI SDK (Windows Measurement Interface) for info. I've not done it, but I believe that Windows supports accessing the same data through WMI and SNMP. So if you can publish your data to WMI, you should be able to export it to SNMP. Sorry I can't provide any better info...

      ...roboticus