T
tclaytonluce
Hi,
Can anyone tell me how to change the default port that WMI listens to
for SNMP traps. By default it is port 162 but I need to change this to
sonething other than that. What I have now is the following and it is
working fine:
WqlEventQuery query = new WqlEventQuery( "Select * From
SnmpV1Notification WITHIN 10" );
ManagementEventWatcher watcher = new ManagementEventWatcher(
"root\\snmp\\myComp", "SELECT * FROM SnmpV1Notification" );
watcher.EventArrived += new EventArrivedEventHandler( HandleEvent );
// Start listening for events
watcher.Start();
Thanks in advance.
Tim
Can anyone tell me how to change the default port that WMI listens to
for SNMP traps. By default it is port 162 but I need to change this to
sonething other than that. What I have now is the following and it is
working fine:
WqlEventQuery query = new WqlEventQuery( "Select * From
SnmpV1Notification WITHIN 10" );
ManagementEventWatcher watcher = new ManagementEventWatcher(
"root\\snmp\\myComp", "SELECT * FROM SnmpV1Notification" );
watcher.EventArrived += new EventArrivedEventHandler( HandleEvent );
// Start listening for events
watcher.Start();
Thanks in advance.
Tim