From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/349111-patch.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 web/attachments/349111-patch.txt (limited to 'web/attachments/349111-patch.txt') diff --git a/web/attachments/349111-patch.txt b/web/attachments/349111-patch.txt new file mode 100644 index 0000000..2eae01d --- /dev/null +++ b/web/attachments/349111-patch.txt @@ -0,0 +1,21 @@ +--- check_asterisk.pl 2009-09-24 03:13:56.000000000 -0700 ++++ check_asterisk.pl.changed 2009-11-01 13:10:06.000000000 -0800 +@@ -31,7 +31,8 @@ + my $iax_timestamp = "00000000"; + my $iax_outbound_seq = "00"; + my $iax_inbound_seq = "00"; +-my $iax_type = "06"; #IAX_Control ++my $iax_type = "06"; #IAX_Control ++my $iax_frame_value = "1e"; #POKE + + sub ok { + $s = shift; +@@ -224,7 +225,7 @@ + socket(PING, PF_INET, SOCK_DGRAM, getprotobyname("udp")); + + $msg = pack "H24", $iax_src_call . $iax_dst_call . $iax_timestamp . +- $iax_outbound_seq . $iax_inbound_seq . $iax_type . $iax_type; ++ $iax_outbound_seq . $iax_inbound_seq . $iax_type . $iax_frame_value ; + + $ipaddr = inet_aton($host); + $sendto = sockaddr_in($port,$ipaddr); -- cgit v1.2.3-74-g34f1