Unsolved

This post is more than 5 years old

38 Posts

517

December 12th, 2007 12:00

snmp trap

Hi,

AutoStart doesn´t send snmp trap to snmp server

Environment
- 2 nodes with Solaris 9
- AutoStart 5.1

I configured in the Setting tab the fields "Snmp server" and "Snmp comunity" with the correct values.
I test the communication ports between nodes and snmp server and it was ok.
With the snoop command we can see AutoStart does send anything

I was readding the programming where I could see the next:
ft::SendSNMPTrap
Name
ft::SendSNMPTrap¿Sends an SNMP trap to a destination node.
Synopsis
$errCode = &ft::SendSNMPTrap($severity, $trapText, $gateway, $community);

Is it necessary to do? what is file which i have to type it? is it a new file?

Regards

Edgar

157 Posts

December 14th, 2007 01:00

So far I just needed to use SNMP functionality once, and I found out as well that Autostart will not send out any SNMP traps by itself once you fill in the SNMP fields with the required info.
ft&SendSNMPTrap() function does work though, but in order to use it, you will have to write a rule (perl script) and a set of triggers to drive that rule in order to send out the stuff you want. You can find more in the 'programming guide' document. It is not that difficult to do, but it is best left to someone who has some experience with rules...

38 Posts

December 17th, 2007 11:00

Hi,

is SendSNMPTrap() function necessary to programming in the new version of AutoStart?

Regards

Edgar

0 events found

No Events found!

Top