source: projects/specs/trunk/z/zabbix/zabbix-2.0.4-vine_path.patch @ 7440

Revision 7440, 8.7 KB checked in by iwaim, 9 years ago (diff)

new: zabbix

  • database/ibm_db2/data.sql

    diff -uNr zabbix-2.0.4.orig/database/ibm_db2/data.sql zabbix-2.0.4/database/ibm_db2/data.sql
    old new  
    822822INSERT INTO users_groups (id,usrgrpid,userid) values ('4','7','1'); 
    823823INSERT INTO users_groups (id,usrgrpid,userid) values ('2','8','2'); 
    824824INSERT INTO scripts (scriptid,name,command,host_access,usrgrpid,groupid,description,confirmation,type,execute_on) values ('1','Ping','/bin/ping -c 3 {HOST.CONN} 2>&1','2',NULL,NULL,'','','0','1'); 
    825 INSERT INTO scripts (scriptid,name,command,host_access,usrgrpid,groupid,description,confirmation,type,execute_on) values ('2','Traceroute','/usr/bin/traceroute {HOST.CONN} 2>&1','2',NULL,NULL,'','','0','1'); 
     825INSERT INTO scripts (scriptid,name,command,host_access,usrgrpid,groupid,description,confirmation,type,execute_on) values ('2','Traceroute','/bin/traceroute {HOST.CONN} 2>&1','2',NULL,NULL,'','','0','1'); 
    826826INSERT INTO scripts (scriptid,name,command,host_access,usrgrpid,groupid,description,confirmation,type,execute_on) values ('3','Detect operating system','sudo /usr/bin/nmap -O {HOST.CONN} 2>&1','2','7',NULL,'','','0','1'); 
    827827INSERT INTO actions (actionid,name,eventsource,evaltype,status,esc_period,def_shortdata,def_longdata,recovery_msg,r_shortdata,r_longdata) values ('2','Auto discovery. Linux servers.','1','0','1','0','','','0','',''); 
    828828INSERT INTO actions (actionid,name,eventsource,evaltype,status,esc_period,def_shortdata,def_longdata,recovery_msg,r_shortdata,r_longdata) values ('3','Report problems to Zabbix administrators','0','0','1','3600','{TRIGGER.STATUS}: {TRIGGER.NAME}','Trigger: {TRIGGER.NAME} 
  • database/mysql/data.sql

    diff -uNr zabbix-2.0.4.orig/database/mysql/data.sql zabbix-2.0.4/database/mysql/data.sql
    old new  
    801801INSERT INTO `users_groups` (`id`,`usrgrpid`,`userid`) values ('4','7','1'); 
    802802INSERT INTO `users_groups` (`id`,`usrgrpid`,`userid`) values ('2','8','2'); 
    803803INSERT INTO `scripts` (`scriptid`,`name`,`command`,`host_access`,`usrgrpid`,`groupid`,`description`,`confirmation`,`type`,`execute_on`) values ('1','Ping','/bin/ping -c 3 {HOST.CONN} 2>&1','2',NULL,NULL,'','','0','1'); 
    804 INSERT INTO `scripts` (`scriptid`,`name`,`command`,`host_access`,`usrgrpid`,`groupid`,`description`,`confirmation`,`type`,`execute_on`) values ('2','Traceroute','/usr/bin/traceroute {HOST.CONN} 2>&1','2',NULL,NULL,'','','0','1'); 
     804INSERT INTO `scripts` (`scriptid`,`name`,`command`,`host_access`,`usrgrpid`,`groupid`,`description`,`confirmation`,`type`,`execute_on`) values ('2','Traceroute','/bin/traceroute {HOST.CONN} 2>&1','2',NULL,NULL,'','','0','1'); 
    805805INSERT INTO `scripts` (`scriptid`,`name`,`command`,`host_access`,`usrgrpid`,`groupid`,`description`,`confirmation`,`type`,`execute_on`) values ('3','Detect operating system','sudo /usr/bin/nmap -O {HOST.CONN} 2>&1','2','7',NULL,'','','0','1'); 
    806806INSERT INTO `actions` (`actionid`,`name`,`eventsource`,`evaltype`,`status`,`esc_period`,`def_shortdata`,`def_longdata`,`recovery_msg`,`r_shortdata`,`r_longdata`) values ('2','Auto discovery. Linux servers.','1','0','1','0','','','0','',''); 
    807807INSERT INTO `actions` (`actionid`,`name`,`eventsource`,`evaltype`,`status`,`esc_period`,`def_shortdata`,`def_longdata`,`recovery_msg`,`r_shortdata`,`r_longdata`) values ('3','Report problems to Zabbix administrators','0','0','1','3600','{TRIGGER.STATUS}: {TRIGGER.NAME}','Trigger: {TRIGGER.NAME}\r\nTrigger status: {TRIGGER.STATUS}\r\nTrigger severity: {TRIGGER.SEVERITY}\r\nTrigger URL: {TRIGGER.URL}\r\n\r\nItem values:\r\n\r\n1. {ITEM.NAME1} ({HOST.NAME1}:{ITEM.KEY1}): {ITEM.VALUE1}\r\n2. {ITEM.NAME2} ({HOST.NAME2}:{ITEM.KEY2}): {ITEM.VALUE2}\r\n3. {ITEM.NAME3} ({HOST.NAME3}:{ITEM.KEY3}): {ITEM.VALUE3}','1','{TRIGGER.STATUS}: {TRIGGER.NAME}','Trigger: {TRIGGER.NAME}\r\nTrigger status: {TRIGGER.STATUS}\r\nTrigger severity: {TRIGGER.SEVERITY}\r\nTrigger URL: {TRIGGER.URL}\r\n\r\nItem values:\r\n\r\n1. {ITEM.NAME1} ({HOST.NAME1}:{ITEM.KEY1}): {ITEM.VALUE1}\r\n2. {ITEM.NAME2} ({HOST.NAME2}:{ITEM.KEY2}): {ITEM.VALUE2}\r\n3. {ITEM.NAME3} ({HOST.NAME3}:{ITEM.KEY3}): {ITEM.VALUE3}'); 
  • database/oracle/data.sql

    diff -uNr zabbix-2.0.4.orig/database/oracle/data.sql zabbix-2.0.4/database/oracle/data.sql
    old new  
    24052405INSERT INTO scripts (scriptid,name,command,host_access,usrgrpid,groupid,description,confirmation,type,execute_on) values ('1','Ping','/bin/ping -c 3 {HOST.CONN} 2>&1','2',NULL,NULL,'','','0','1') 
    24062406/ 
    24072407 
    2408 INSERT INTO scripts (scriptid,name,command,host_access,usrgrpid,groupid,description,confirmation,type,execute_on) values ('2','Traceroute','/usr/bin/traceroute {HOST.CONN} 2>&1','2',NULL,NULL,'','','0','1') 
     2408INSERT INTO scripts (scriptid,name,command,host_access,usrgrpid,groupid,description,confirmation,type,execute_on) values ('2','Traceroute','/bin/traceroute {HOST.CONN} 2>&1','2',NULL,NULL,'','','0','1') 
    24092409/ 
    24102410 
    24112411INSERT INTO scripts (scriptid,name,command,host_access,usrgrpid,groupid,description,confirmation,type,execute_on) values ('3','Detect operating system','sudo /usr/bin/nmap -O {HOST.CONN} 2>&1','2','7',NULL,'','','0','1') 
  • database/postgresql/data.sql

    diff -uNr zabbix-2.0.4.orig/database/postgresql/data.sql zabbix-2.0.4/database/postgresql/data.sql
    old new  
    823823INSERT INTO users_groups (id,usrgrpid,userid) values ('4','7','1'); 
    824824INSERT INTO users_groups (id,usrgrpid,userid) values ('2','8','2'); 
    825825INSERT INTO scripts (scriptid,name,command,host_access,usrgrpid,groupid,description,confirmation,type,execute_on) values ('1','Ping','/bin/ping -c 3 {HOST.CONN} 2>&1','2',NULL,NULL,'','','0','1'); 
    826 INSERT INTO scripts (scriptid,name,command,host_access,usrgrpid,groupid,description,confirmation,type,execute_on) values ('2','Traceroute','/usr/bin/traceroute {HOST.CONN} 2>&1','2',NULL,NULL,'','','0','1'); 
     826INSERT INTO scripts (scriptid,name,command,host_access,usrgrpid,groupid,description,confirmation,type,execute_on) values ('2','Traceroute','/bin/traceroute {HOST.CONN} 2>&1','2',NULL,NULL,'','','0','1'); 
    827827INSERT INTO scripts (scriptid,name,command,host_access,usrgrpid,groupid,description,confirmation,type,execute_on) values ('3','Detect operating system','sudo /usr/bin/nmap -O {HOST.CONN} 2>&1','2','7',NULL,'','','0','1'); 
    828828INSERT INTO actions (actionid,name,eventsource,evaltype,status,esc_period,def_shortdata,def_longdata,recovery_msg,r_shortdata,r_longdata) values ('2','Auto discovery. Linux servers.','1','0','1','0','','','0','',''); 
    829829INSERT INTO actions (actionid,name,eventsource,evaltype,status,esc_period,def_shortdata,def_longdata,recovery_msg,r_shortdata,r_longdata) values ('3','Report problems to Zabbix administrators','0','0','1','3600','{TRIGGER.STATUS}: {TRIGGER.NAME}','Trigger: {TRIGGER.NAME} 
  • database/sqlite3/data.sql

    diff -uNr zabbix-2.0.4.orig/database/sqlite3/data.sql zabbix-2.0.4/database/sqlite3/data.sql
    old new  
    823823INSERT INTO users_groups (id,usrgrpid,userid) values ('4','7','1'); 
    824824INSERT INTO users_groups (id,usrgrpid,userid) values ('2','8','2'); 
    825825INSERT INTO scripts (scriptid,name,command,host_access,usrgrpid,groupid,description,confirmation,type,execute_on) values ('1','Ping','/bin/ping -c 3 {HOST.CONN} 2>&1','2',NULL,NULL,'','','0','1'); 
    826 INSERT INTO scripts (scriptid,name,command,host_access,usrgrpid,groupid,description,confirmation,type,execute_on) values ('2','Traceroute','/usr/bin/traceroute {HOST.CONN} 2>&1','2',NULL,NULL,'','','0','1'); 
     826INSERT INTO scripts (scriptid,name,command,host_access,usrgrpid,groupid,description,confirmation,type,execute_on) values ('2','Traceroute','/bin/traceroute {HOST.CONN} 2>&1','2',NULL,NULL,'','','0','1'); 
    827827INSERT INTO scripts (scriptid,name,command,host_access,usrgrpid,groupid,description,confirmation,type,execute_on) values ('3','Detect operating system','sudo /usr/bin/nmap -O {HOST.CONN} 2>&1','2','7',NULL,'','','0','1'); 
    828828INSERT INTO actions (actionid,name,eventsource,evaltype,status,esc_period,def_shortdata,def_longdata,recovery_msg,r_shortdata,r_longdata) values ('2','Auto discovery. Linux servers.','1','0','1','0','','','0','',''); 
    829829INSERT INTO actions (actionid,name,eventsource,evaltype,status,esc_period,def_shortdata,def_longdata,recovery_msg,r_shortdata,r_longdata) values ('3','Report problems to Zabbix administrators','0','0','1','3600','{TRIGGER.STATUS}: {TRIGGER.NAME}','Trigger: {TRIGGER.NAME} 
Note: See TracBrowser for help on using the repository browser.