From 6c4378427ba21610e2ffd3000eed102e10776114 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Thu, 1 Oct 2009 14:27:51 +0000 Subject: [PATCH] Added sample data: service calls, known errors, infra grouping, and some links (e.g. contact/team) SVN:trunk[188] --- setup/data/100.contactobject.xml | 23 +++++++++ setup/data/101.infragroup.xml | 13 +++++ setup/data/11.1.servicecall.xml | 89 ++++++++++++++++++++++++++++++++ setup/data/11.incidents.xml | 23 --------- setup/data/13.infratickets.xml | 5 -- setup/data/50.knownerror.xml | 16 ++++++ setup/data/60.group.xml | 12 +++++ setup/data/99.contactteam.xml | 23 +++++++++ setup/data/export.cmd | 12 +++++ 9 files changed, 188 insertions(+), 28 deletions(-) create mode 100644 setup/data/100.contactobject.xml create mode 100644 setup/data/101.infragroup.xml create mode 100644 setup/data/11.1.servicecall.xml create mode 100644 setup/data/50.knownerror.xml create mode 100644 setup/data/60.group.xml create mode 100644 setup/data/99.contactteam.xml diff --git a/setup/data/100.contactobject.xml b/setup/data/100.contactobject.xml new file mode 100644 index 000000000..e26cac46a --- /dev/null +++ b/setup/data/100.contactobject.xml @@ -0,0 +1,23 @@ + + + +8 +6 +business model expert + + +4 +9 +owner + + +6 +107 +Server Owner + + +8 +4 +Team Leader + + \ No newline at end of file diff --git a/setup/data/101.infragroup.xml b/setup/data/101.infragroup.xml new file mode 100644 index 000000000..31ef04e97 --- /dev/null +++ b/setup/data/101.infragroup.xml @@ -0,0 +1,13 @@ + + + +107 +326 +monitored + + +306 +326 +monitoring server + + \ No newline at end of file diff --git a/setup/data/11.1.servicecall.xml b/setup/data/11.1.servicecall.xml new file mode 100644 index 000000000..7a4361f6f --- /dev/null +++ b/setup/data/11.1.servicecall.xml @@ -0,0 +1,89 @@ + + + +S-000001 +new call +Desktop +2 +Closed +gsgwg +wrgwerg +wrgtwer +gt +2009-09-18 10:21:00 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +2009-09-22 21:34:35 +5 +issue +317 +6 +et blabla +low +et zouzou +phone + + +S-000004 +Need a new PC +Desktop +2 +WorkInProgress +Hello + +i need a new laptop for working +Could you send me a new one +2009-09-23 21:20:00 +2009-09-23 21:22:09 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +6 +user cannot work anymore +317 +327 +we are looking into our store +low + +phone + + +S-000005 +Need help for iTop +Server +1 +New +I would like a demo for iTop +2009-09-25 22:11:00 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +1 +Not urgent +317 +0 + +low + +phone + + +S-000006 +New service call +Server +2 +WorkInProgress +My request +2009-09-25 23:24:00 +2009-09-25 23:33:43 +0000-00-00 00:00:00 +0000-00-00 00:00:00 +5 +test +317 +327 + +low + +phone + + \ No newline at end of file diff --git a/setup/data/11.incidents.xml b/setup/data/11.incidents.xml index e3e2db689..57ad3644c 100644 --- a/setup/data/11.incidents.xml +++ b/setup/data/11.incidents.xml @@ -108,29 +108,6 @@ It seems that hard disk is broken 1 - -I-000006 -Demo -Desktop -2 -WorkInProgress -gdfgl - -2009-03-18 22:00:00 -2009-09-17 18:41:44 -0000-00-00 00:00:00 -0000-00-00 00:00:00 -5 -personne ne peut acceder au site de paris -317 -6 -posjgsrkg -jgmklerjg -gejrg -low -1 - - I-000009 Issue on WAN diff --git a/setup/data/13.infratickets.xml b/setup/data/13.infratickets.xml index 16f11e577..76d99ef4b 100644 --- a/setup/data/13.infratickets.xml +++ b/setup/data/13.infratickets.xml @@ -1,10 +1,5 @@ - -108 -6 -c'est down - 308 2 diff --git a/setup/data/50.knownerror.xml b/setup/data/50.knownerror.xml new file mode 100644 index 000000000..7083ca9b7 --- /dev/null +++ b/setup/data/50.knownerror.xml @@ -0,0 +1,16 @@ + + + +High CPU load +2 +CPU is very high and we cannot access any more web site on this server +http daemon is hanging +stop http daemon and restart it + + +Application + + + + + \ No newline at end of file diff --git a/setup/data/60.group.xml b/setup/data/60.group.xml new file mode 100644 index 000000000..2a45bfbfa --- /dev/null +++ b/setup/data/60.group.xml @@ -0,0 +1,12 @@ + + + +Monitroing Nagios server1 +production +2 +low +Monitoring +regroupe les CI monitorer par nagios +0 + + \ No newline at end of file diff --git a/setup/data/99.contactteam.xml b/setup/data/99.contactteam.xml new file mode 100644 index 000000000..2342d0987 --- /dev/null +++ b/setup/data/99.contactteam.xml @@ -0,0 +1,23 @@ + + + +327 +7 +agent + + +4 +8 +agent + + +6 +8 +team leader + + +6 +7 +team leader + + \ No newline at end of file diff --git a/setup/data/export.cmd b/setup/data/export.cmd index c30c33d04..33a1e6d2b 100644 --- a/setup/data/export.cmd +++ b/setup/data/export.cmd @@ -19,6 +19,7 @@ wget --output-document=09.1.interfaces.xml --post-data="auth_user=%USER%&auth_pw wget --output-document=09.2.circuits.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT bizCircuit&format=xml" wget --output-document=10.workgroups.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT bizWorkgroup&format=xml" wget --output-document=11.incidents.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT bizIncidentTicket&format=xml" +wget --output-document=11.1.servicecall.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT bizServiceCall&format=xml" wget --output-document=12.relatedtickets.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT lnkRelatedTicket&format=xml" wget --output-document=13.infratickets.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT lnkInfraTicket&format=xml" wget --output-document=14.contacttickets.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT lnkContactTicket&format=xml" @@ -29,6 +30,17 @@ wget --output-document=18.contracts.xml --post-data="auth_user=%USER%&auth_pwd=% wget --output-document=18.1.services.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT bizService&format=xml" wget --output-document=19.infracontracts.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT lnkInfraContract&format=xml" wget --output-document=20.contactcontracts.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT lnkContactContract&format=xml" + +REM ----------- to be moved (or move the links at the end) wget --output-document=21.subnets.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT bizSubnet&format=xml" +wget --output-document=50.knownerror.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT bizKnownError&format=xml" + +REM ----------- what about hierarchies? +wget --output-document=60.group.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT bizInfraGroup&format=xml" + +wget --output-document=99.contactteam.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT lnkContactTeam&format=xml" +wget --output-document=100.contactobject.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT lnkContactRealObject&format=xml" +wget --output-document=101.infragroup.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT lnkInfraGrouping&format=xml" + pause