Re: Pb with traphandle calling bat file

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
FRUCTUS, Fabrice (INFOTEL CONSEIL) wrote:
>> I would like to call a .bat file when receiving a overquota SNMP trap from a filer.
>> This bat file would then call a VBScript, providing trap information as arguments
>>
>> I currently receive these SNMP traps, but I can't get the trap information in my bat file:
[...]
>> But unfortunately, the bat file doesn't get any arguments, and then so as my vbs file.

The notifications are passed via standard input, not as arguments.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)


_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.