submit_check_result not found...does anyone have this script


#1

Hi Everyone

In order to pass SNMP traps to Nagios I implemented most of this link:

However, I am unable to implement the follwoing:
EVENT someEvent .1.3.6.1.4.1.6876.0.1 “Status Events” Normal FORMAT $*
EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result $R TRAP 1 "$*"
REGEX (myhostname)(MYHOSTNAME)
SDESC
…]

As I can find no where the submit_check_result script. I also installed the latest plugins - no success.

Can anyone help please.

Many thanks


#2

[quote]Hi Everyone

In order to pass SNMP traps to Nagios I implemented most of this link:

However, I am unable to implement the follwoing:[/quote]

] Link found


#3

Hi strid
Did you try to add link? I cannot see it…
thanks for your help.


#4

No, i was pointing out that your link is missing…

I suspect you will have to write submit_check_result yourself though, making use of the process_host/service_check_result external commands (nagios.org/developerinfo/ext … ndlist.php ) to submit the SNMP traps as passive check results…