openbsd-ports/net/zabbix/patches/patch-create_data_data_sql

24 lines
1.1 KiB
Plaintext

$OpenBSD: patch-create_data_data_sql,v 1.3 2010/12/07 21:52:03 ajacoutot Exp $
--- create/data/data.sql.orig Mon Aug 16 10:19:33 2010
+++ create/data/data.sql Tue Dec 7 22:50:07 2010
@@ -27,8 +27,8 @@ INSERT INTO config VALUES (1,365,365,600,'1-5,00:00-24
-- Dumping data for table `scripts`
--
-INSERT INTO scripts VALUES (1,'Ping','/bin/ping -c 3 {HOST.CONN}',2,0,0);
-INSERT INTO scripts VALUES (2,'Traceroute','/usr/bin/traceroute {HOST.CONN}',2,0,0);
+INSERT INTO scripts VALUES (1,'Ping','/sbin/ping -c 3 {HOST.CONN} 2>&1',2,0,0);
+INSERT INTO scripts VALUES (2,'Traceroute','/usr/sbin/traceroute {HOST.CONN} 2>&1',2,0,0);
--
-- Dumping data for table `users`
@@ -64,7 +64,7 @@ INSERT INTO users_groups VALUES (2,8,2);
INSERT INTO media_type VALUES (1,0,'Email','mail.company.com','company.com','zabbix@company.com','','','','');
INSERT INTO media_type VALUES (2,3,'Jabber','','','','','','jabber@company.com','zabbix');
-INSERT INTO media_type VALUES (3,2,'SMS','','','','','/dev/ttyS0','','');
+INSERT INTO media_type VALUES (3,2,'SMS','','','','','/dev/tty00','','');
--
-- Dumping data for table hosts