Permalink
Browse files

*Big change : new layout:

**bin/ all daemons
**shinken/ the library call by daemons (or other tools)
**libexec/ checks
**etc/ all conf
**var/ all variables files (logs, temp file, etc)
**external_commands/ : some exampels of external commands
**db/ the db sources files for ndo and merlin
  • Loading branch information...
1 parent 328aff9 commit 38304a887313b7c42ef94eda712808f518636d67 Gabes Jean committed Jul 29, 2010
Showing with 180 additions and 142 deletions.
  1. 0 {src → bin}/nagios
  2. +23 −8 {src → bin}/shinken-arbiter.py
  3. +37 −20 {src → bin}/shinken-broker.py
  4. +21 −6 {src → bin}/shinken-poller.py
  5. +21 −5 {src → bin}/shinken-reactionner.py
  6. +25 −10 {src → bin}/shinken-scheduler.py
  7. BIN {src → }/db/merlin_db_mysql.sql.gz
  8. BIN {src → }/db/merlin_db_sqllite.sql.gz
  9. BIN {src → }/db/ndo_db_oracle.sql.gz
  10. +2 −2 {src → }/etc/brokerd-windows.cfg
  11. +1 −1 {src → }/etc/brokerd.cfg
  12. +8 −8 {src → }/etc/commons.cfg
  13. +6 −6 {src → }/etc/conf-windows.cfg
  14. 0 {src → }/etc/host-150.cfg
  15. +8 −8 {src → }/etc/nagios-windows.cfg
  16. +2 −2 {src → }/etc/nagios.cfg
  17. +1 −1 {src → }/etc/pollerd-windows.cfg
  18. 0 {src → }/etc/pollerd.cfg
  19. +1 −1 {src → }/etc/reactionnerd-windows.cfg
  20. 0 {src → }/etc/reactionnerd.cfg
  21. 0 {src → }/etc/resource.cfg
  22. +1 −1 {src → }/etc/schedulerd-windows.cfg
  23. 0 {src → }/etc/schedulerd.cfg
  24. 0 {src → }/etc/services-150h-1500srv.cfg
  25. +5 −5 {src → }/etc/shinken-specific-high-availability.cfg
  26. +5 −5 {src → }/etc/shinken-specific-load-balanced-only.cfg
  27. +6 −6 {src → }/etc/shinken-specific-windows.cfg
  28. +5 −5 {src → }/etc/shinken-specific.cfg
  29. 0 {src → }/external_commands/ACKNOWLEDGE_HOST_PROBLEM.sh
  30. 0 {src → }/external_commands/CHANGE_CONTACT_HOST_NOTIFICATION_TIMEPERIOD.sh
  31. 0 {src → }/external_commands/CHANGE_HOST_CHECK_COMMAND.sh
  32. 0 {src → }/external_commands/PROCESS_HOST_CHECK_RESULT.sh
  33. BIN libexec/.check.sh.swp
  34. 0 {src → }/libexec/check.bat
  35. 0 {src → }/libexec/check.sh
  36. 0 {src → }/libexec/check_dummy.sh
  37. 0 {src → }/libexec/notify.sh
  38. 0 src/var/rw/void → shinken/__init__.py
  39. 0 {src → shinken}/acknowledge.py
  40. 0 {src → shinken}/action.py
  41. 0 {src → shinken}/arbiterlink.py
  42. 0 {src → shinken}/autoslots.py
  43. 0 {src → shinken}/borg.py
  44. 0 {src → shinken}/brok.py
  45. 0 {src → shinken}/brokerlink.py
  46. 0 {src → shinken}/check.py
  47. 0 {src → shinken}/command.py
  48. 0 {src → shinken}/comment.py
  49. 0 {src → shinken}/config.py
  50. 0 {src → shinken}/contact.py
  51. 0 {src → shinken}/contactgroup.py
  52. 0 {src → shinken}/daemon.py
  53. 0 {src → shinken}/daterange.py
  54. 0 {src → shinken}/dependancies
  55. 0 {src → shinken}/dispatcher.py
  56. 0 {src → shinken}/downtime.py
  57. 0 {src → shinken}/escalation.py
  58. 0 {src → shinken}/eventhandler.py
  59. 0 {src → shinken}/external_command.py
  60. 0 {src → shinken}/graph.py
  61. 0 {src → shinken}/host.py
  62. 0 {src → shinken}/hostdependency.py
  63. 0 {src → shinken}/hostescalation.py
  64. 0 {src → shinken}/hostgroup.py
  65. 0 {src → shinken}/item.py
  66. 0 {src → shinken}/itemgroup.py
  67. 0 {src → shinken}/load.py
  68. 0 {src → shinken}/log.py
  69. 0 {src → shinken}/macroresolver.py
  70. 0 {src → shinken}/memoized.py
  71. 0 {src → shinken}/message.py
  72. 0 {src → shinken}/module.py
  73. 0 {src → shinken}/modules/couchdb_broker/__init__.py
  74. 0 {src → shinken}/modules/couchdb_broker/couchdb_broker.py
  75. 0 {src → shinken}/modules/host_perfdata_broker/__init__.py
  76. 0 {src → shinken}/modules/host_perfdata_broker/host_perfdata_broker.py
  77. 0 {src → shinken}/modules/livestatus_broker/__init__.py
  78. 0 {src → shinken}/modules/livestatus_broker/livestatus.py
  79. 0 {src → shinken}/modules/livestatus_broker/livestatus_broker.py
  80. 0 {src → shinken}/modules/merlindb_broker/__init__.py
  81. 0 {src → shinken}/modules/merlindb_broker/merlindb_broker.py
  82. 0 {src → shinken}/modules/merlindb_broker/mysql_backend.py
  83. 0 {src → shinken}/modules/merlindb_broker/sqlite_backend.py
  84. 0 {src → shinken}/modules/merlindb_sqlite_broker/__init__.py
  85. 0 {src → shinken}/modules/merlindb_sqlite_broker/merlindb_sqlite_broker.py
  86. 0 {src → shinken}/modules/ndodb_mysql_broker/__init__.py
  87. 0 {src → shinken}/modules/ndodb_mysql_broker/ndodb_broker.py
  88. 0 {src → shinken}/modules/ndodb_oracle_broker/__init__.py
  89. 0 {src → shinken}/modules/ndodb_oracle_broker/ndodb_oracle_broker.py
  90. 0 {src → shinken}/modules/npcdmod_broker.py
  91. 0 {src → shinken}/modules/service_perfdata_broker/__init__.py
  92. 0 {src → shinken}/modules/service_perfdata_broker/service_perfdata_broker.py
  93. 0 {src → shinken}/modules/simplelog_broker.py
  94. 0 {src → shinken}/modules/status_dat_broker/__init__.py
  95. 0 {src → shinken}/modules/status_dat_broker/objectscache.py
  96. 0 {src → shinken}/modules/status_dat_broker/status.py
  97. 0 {src → shinken}/modules/status_dat_broker/status_dat_broker.py
  98. 0 {src → shinken}/modulesmanager.py
  99. 0 {src → shinken}/notification.py
  100. 0 {src → shinken}/pollerlink.py
  101. 0 {src → shinken}/reactionnerlink.py
  102. 0 {src → shinken}/realm.py
  103. 0 {src → shinken}/resultmodulation.py
  104. +1 −0 {src → shinken}/satellite.py
  105. 0 {src → shinken}/satellitelink.py
  106. +1 −0 {src → shinken}/scheduler.py
  107. 0 {src → shinken}/schedulerlink.py
  108. 0 {src → shinken}/schedulingitem.py
  109. 0 {src → shinken}/service.py
  110. 0 {src → shinken}/servicedependency.py
  111. 0 {src → shinken}/serviceescalation.py
  112. 0 {src → shinken}/servicegroup.py
  113. 0 {src → shinken}/singleton.py
  114. 0 {src → shinken}/timeperiod.py
  115. 0 {src → shinken}/util.py
  116. 0 {src → shinken}/worker.py
  117. +0 −33 src/setup.py.to_test
  118. +0 −9 src/windows/install-all.bat
  119. BIN src/windows/shinken-arbiter-service.reg
  120. BIN src/windows/shinken-broker-service.reg
  121. BIN src/windows/shinken-poller-service.reg
  122. BIN src/windows/shinken-reactionner-service.reg
  123. BIN src/windows/shinken-scheduler-service.reg
  124. 0 src/windows/uninstall-all.bat
  125. 0 {src → }/var/void_for_git
File renamed without changes.
@@ -58,17 +58,31 @@
sys.exit(1)
-
-from util import to_bool
+#Try to load shinken lib.
+#Maybe it's not in our python path, so we detect it
+#it so (it's a untar install) we add .. in the path
+try :
+ from shinken.util import to_bool
+except ImportError:
+ #Now add in the python path the shinken lib
+ #if we launch it in a direct way and
+ #the shinken is not a python lib
+ my_path = os.path.abspath(sys.modules['__main__'].__file__)
+ elts = os.path.dirname(my_path).split(os.sep)[:-1]
+ sys.path.append(os.sep.join(elts))
+ elts.append('shinken')
+ sys.path.append(os.sep.join(elts))
+
+from shinken.util import to_bool
#from scheduler import Scheduler
-from config import Config
-from external_command import ExternalCommand
-from dispatcher import Dispatcher
-from daemon import Daemon
-from log import Log
+from shinken.config import Config
+from shinken.external_command import ExternalCommand
+from shinken.dispatcher import Dispatcher
+from shinken.daemon import Daemon
+from shinken.log import Log
-VERSION = "0.1"
+VERSION = "0.2"
@@ -391,6 +405,7 @@ def main(self):
Pyro.config.PYRO_STORAGE = self.workdir
Pyro.config.PYRO_COMPRESSION = 1
Pyro.config.PYRO_MULTITHREADED = 0
+ Log().log("Using working directory : %s" % os.path.abspath(self.workdir))
Pyro.core.initServer()
Log().log("Listening on %s:%d" % (self.me.address, self.me.port))
@@ -60,22 +60,38 @@
from multiprocessing import active_children
-from satellite import Satellite
-from daemon import Daemon
-from util import to_int, to_bool
-from module import Module, Modules
-from modulesmanager import ModulesManager
-from log import Log
-from brok import Brok
+#Try to load shinken lib.
+#Maybe it's not in our python path, so we detect it
+#it so (it's a untar install) we add .. in the path
+try :
+ from shinken.util import to_bool
+except ImportError:
+ #Now add in the python path the shinken lib
+ #if we launch it in a direct way and
+ #the shinken is not a python lib
+ my_path = os.path.abspath(sys.modules['__main__'].__file__)
+ elts = os.path.dirname(my_path).split(os.sep)[:-1]
+ sys.path.append(os.sep.join(elts))
+ elts.append('shinken')
+ sys.path.append(os.sep.join(elts))
+
+
+from shinken.satellite import Satellite
+from shinken.daemon import Daemon
+from shinken.util import to_int, to_bool
+from shinken.module import Module, Modules
+from shinken.modulesmanager import ModulesManager
+from shinken.log import Log
+from shinken.brok import Brok
#Load to be used by modules
-from resultmodulation import Resultmodulation
-from escalation import Escalation
-from timeperiod import Timeperiod
-from contact import Contact
-from command import Command, CommandCall
+from shinken.resultmodulation import Resultmodulation
+from shinken.escalation import Escalation
+from shinken.timeperiod import Timeperiod
+from shinken.contact import Contact
+from shinken.command import Command, CommandCall
-VERSION = "0.1"
+VERSION = "0.2"
@@ -213,14 +229,14 @@ def wait_new_conf(self):
class Broker(Satellite):
#default_port = 7772
properties = {
- 'workdir' : {'default' : '/usr/local/shinken/src/var', 'pythonize' : None, 'path' : True},
- 'pidfile' : {'default' : '/usr/local/shinken/src/var/brokerd.pid', 'pythonize' : None, 'path' : True},
+ 'workdir' : {'default' : '/usr/local/shinken/var', 'pythonize' : None, 'path' : True},
+ 'pidfile' : {'default' : '/usr/local/shinken/var/brokerd.pid', 'pythonize' : None, 'path' : True},
'port' : {'default' : '7772', 'pythonize' : to_int},
'host' : {'default' : '0.0.0.0', 'pythonize' : None},
'user' : {'default' : 'shinken', 'pythonize' : None},
'group' : {'default' : 'shinken', 'pythonize' : None},
'idontcareaboutsecurity' : {'default' : '0', 'pythonize' : to_bool},
- 'modulespath' : {'default' :'/usr/local/shinken/src/modules' , 'pythonize' : None, 'path' : True}
+ 'modulespath' : {'default' :'/usr/local/shinken/shinken/modules' , 'pythonize' : None, 'path' : True}
}
@@ -232,7 +248,7 @@ def __init__(self, config_file, is_daemon, do_replace, debug, debug_file):
self.set_exit_handler()
#Log init
- self.log = Log()
+ self.log = Log()
self.log.load_obj(self)
#The config reading part
@@ -486,9 +502,10 @@ def check_and_del_zombie_modules(self):
#Main function, will loop forever
def main(self):
-
- Pyro.config.PYRO_STORAGE = self.workdir
- Pyro.config.PYRO_MULTITHREADED = 0
+
+ Log().log("Using working directory : %s" % os.path.abspath(self.workdir))
+ Pyro.config.PYRO_STORAGE = self.workdir
+ Pyro.config.PYRO_MULTITHREADED = 0
#Daemon init
Pyro.core.initServer()
@@ -52,12 +52,27 @@
print "Shinken require the Python Pyro module. Please install it."
sys.exit(1)
+#Try to load shinken lib.
+#Maybe it's not in our python path, so we detect it
+#it so (it's a untar install) we add .. in the path
+try :
+ from shinken.util import to_bool
+except ImportError:
+ #Now add in the python path the shinken lib
+ #if we launch it in a direct way and
+ #the shinken is not a python lib
+ my_path = os.path.abspath(sys.modules['__main__'].__file__)
+ elts = os.path.dirname(my_path).split(os.sep)[:-1]
+ sys.path.append(os.sep.join(elts))
+ elts.append('shinken')
+ sys.path.append(os.sep.join(elts))
+
-from satellite import Satellite
-from util import to_int, to_bool
-from module import Module, Modules
+from shinken.satellite import Satellite
+from shinken.util import to_int, to_bool
+from shinken.module import Module, Modules
-VERSION = "0.1"
+VERSION = "0.2"
#Our main APP class
@@ -67,8 +82,8 @@ class Poller (Satellite):
#default_port = 7771
properties = {
- 'workdir' : {'default' : '/usr/local/shinken/src/var', 'pythonize' : None, 'path' : True},
- 'pidfile' : {'default' : '/usr/local/shinken/src/var/pollerd.pid', 'pythonize' : None, 'path' : True},
+ 'workdir' : {'default' : '/usr/local/shinken/var', 'pythonize' : None, 'path' : True},
+ 'pidfile' : {'default' : '/usr/local/shinken/var/pollerd.pid', 'pythonize' : None, 'path' : True},
'port' : {'default' : '7771', 'pythonize' : to_int},
'host' : {'default' : '0.0.0.0', 'pythonize' : None},
'user' : {'default' : 'shinken', 'pythonize' : None},
@@ -55,10 +55,26 @@
sys.exit(1)
-from satellite import Satellite
-from util import to_int, to_bool
+#Try to load shinken lib.
+#Maybe it's not in our python path, so we detect it
+#it so (it's a untar install) we add .. in the path
+try :
+ from shinken.util import to_bool
+except ImportError:
+ #Now add in the python path the shinken lib
+ #if we launch it in a direct way and
+ #the shinken is not a python lib
+ my_path = os.path.abspath(sys.modules['__main__'].__file__)
+ elts = os.path.dirname(my_path).split(os.sep)[:-1]
+ sys.path.append(os.sep.join(elts))
+ elts.append('shinken')
+ sys.path.append(os.sep.join(elts))
+
+
+from shinken.satellite import Satellite
+from shinken.util import to_int, to_bool
-VERSION = "0.1"
+VERSION = "0.2"
#Our main APP class
@@ -68,8 +84,8 @@ class Reactionner(Satellite):
#default_port = 7769
properties = {
- 'workdir' : {'default' : '/usr/local/shinken/src/var', 'pythonize' : None, 'path' : True},
- 'pidfile' : {'default' : '/usr/local/shinken/src/var/reactionnerd.pid', 'pythonize' : None, 'path' : True},
+ 'workdir' : {'default' : '/usr/local/shinken/var', 'pythonize' : None, 'path' : True},
+ 'pidfile' : {'default' : '/usr/local/shinken/var/reactionnerd.pid', 'pythonize' : None, 'path' : True},
'port' : {'default' : '7769', 'pythonize' : to_int},
'host' : {'default' : '0.0.0.0', 'pythonize' : None},
'user' : {'default' : 'shinken', 'pythonize' : None},
@@ -86,16 +86,31 @@
sys.exit(1)
+#Try to load shinken lib.
+#Maybe it's not in our python path, so we detect it
+#it so (it's a untar install) we add .. in the path
+try :
+ from shinken.util import to_bool
+except ImportError:
+ #Now add in the python path the shinken lib
+ #if we launch it in a direct way and
+ #the shinken is not a python lib
+ my_path = os.path.abspath(sys.modules['__main__'].__file__)
+ elts = os.path.dirname(my_path).split(os.sep)[:-1]
+ sys.path.append(os.sep.join(elts))
+ elts.append('shinken')
+ sys.path.append(os.sep.join(elts))
+
#from check import Check
-from scheduler import Scheduler
-from config import Config
-from macroresolver import MacroResolver
-from external_command import ExternalCommand
-from daemon import Daemon#create_daemon, check_parallele_run, change_user
-from util import to_int, to_bool
+from shinken.scheduler import Scheduler
+from shinken.config import Config
+from shinken.macroresolver import MacroResolver
+from shinken.external_command import ExternalCommand
+from shinken.daemon import Daemon#create_daemon, check_parallele_run, change_user
+from shinken.util import to_int, to_bool
#from module import Module, Modules
-VERSION = "0.1"
+VERSION = "0.2"
@@ -254,8 +269,8 @@ class Shinken(Daemon):
#default_port = 7768
properties = {
- 'workdir' : {'default' : '/usr/local/shinken/src/var', 'pythonize' : None, 'path' : True},
- 'pidfile' : {'default' : '/usr/local/shinken/src/var/schedulerd.pid', 'pythonize' : None, 'path' : True},
+ 'workdir' : {'default' : '/usr/local/shinken/var', 'pythonize' : None, 'path' : True},
+ 'pidfile' : {'default' : '/usr/local/shinken/var/schedulerd.pid', 'pythonize' : None, 'path' : True},
'port' : {'default' : '7768', 'pythonize' : to_int},
'host' : {'default' : '0.0.0.0', 'pythonize' : None},
'user' : {'default' : 'shinken', 'pythonize' : None},
@@ -309,7 +324,7 @@ def __init__(self, config_file, is_daemon, do_replace, debug, debug_file):
Config.fill_usern_macros()
#create the server
- print "Workdir", self.workdir
+ print "Using working directory : %s" % os.path.abspath(self.workdir)
Pyro.config.PYRO_STORAGE = self.workdir
Pyro.config.PYRO_COMPRESSION = 1
Pyro.config.PYRO_MULTITHREADED = 0
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,5 +1,5 @@
[daemon]
-workdir=c:\shinken\src\var
+workdir=c:\shinken\var
pidfile=%(workdir)s/brokerd.pid
interval_poll=5
maxfd=1024
@@ -8,4 +8,4 @@ host=0.0.0.0
user=shinken
group=shinken
idontcareaboutsecurity=no
-modulespath=c:\shinken/src/modules
+modulespath=c:\shinken/shinken/modules
@@ -9,4 +9,4 @@ host=0.0.0.0
user=shinken
group=shinken
idontcareaboutsecurity=no
-modulespath=../modules
+modulespath=../shinken/modules
@@ -6,46 +6,46 @@
#Pollertag is a advanced features for mix architectures. Look at teh doc for it.
define command{
command_name check_host
- command_line /usr/local/shinken/src/libexec/check.sh $HOSTADDRESS$ -c $ARG1$ HOST $USER1$
+ command_line /usr/local/shinken/libexec/check.sh $HOSTADDRESS$ -c $ARG1$ HOST $USER1$
#poller_tag DMZ
}
define command{
command_name check_local_disk
- command_line /usr/local/shinken/src/libexec/check.sh $HOSTADDRESS$ -c $ARG1$ SERVICE $USER1$
+ command_line /usr/local/shinken/libexec/check.sh $HOSTADDRESS$ -c $ARG1$ SERVICE $USER1$
}
define command{
command_name check_dummy
- command_line /usr/local/shinken/src/libexec/check_dummy.sh $ARG1$
+ command_line /usr/local/shinken/libexec/check_dummy.sh $ARG1$
}
define command{
command_name super_event_kill_everyone
- command_line /usr/local/shinken/src/libexec/check.sh $HOSTADDRESS$ -c $ARG1$ SERVICE $_HOSTDELLSUCK$
+ command_line /usr/local/shinken/libexec/check.sh $HOSTADDRESS$ -c $ARG1$ SERVICE $_HOSTDELLSUCK$
}
define command{
command_name check_http
- command_line /usr/local/shinken/src/libexec/check.sh $HOSTADDRESS$ -c $ARG1$ SERVICE $_HOSTDELLSUCK$
+ command_line /usr/local/shinken/libexec/check.sh $HOSTADDRESS$ -c $ARG1$ SERVICE $_HOSTDELLSUCK$
}
define command{
command_name check-host-alive
- command_line /usr/local/shinken/src/libexec/check.sh $HOSTADDRESS$ -c $ARG1$ HOST $_HOSTDELLSUCK$ $SERVICEDESC:srv-1:Service-2$ $SERVICEDESC::Service-30$ $HOSTADDRESS:$ $HOSTGROUPALIAS:linux-servers$
+ command_line /usr/local/shinken/libexec/check.sh $HOSTADDRESS$ -c $ARG1$ HOST $_HOSTDELLSUCK$ $SERVICEDESC:srv-1:Service-2$ $SERVICEDESC::Service-30$ $HOSTADDRESS:$ $HOSTGROUPALIAS:linux-servers$
}
#Now notify commands. To notify :)
define command{
command_name notify-service-by-email
- command_line /usr/local/shinken/src/libexec/notify.sh $NOTIFICATIONTYPE$ : $SERVICEDESC$ is $SERVICESTATE$ ouput = $SERVICEOUTPUT$ contact: $CONTACTEMAIL$ $LONGDATETIME$
+ command_line /usr/local/shinken/libexec/notify.sh $NOTIFICATIONTYPE$ : $SERVICEDESC$ is $SERVICESTATE$ ouput = $SERVICEOUTPUT$ contact: $CONTACTEMAIL$ $LONGDATETIME$
}
define command{
command_name notify-host-by-email
- command_line /usr/local/shinken/src/libexec/notify.sh $NOTIFICATIONTYPE$ : $HOSTNAME$ at $HOSTADDRESS$ is $HOSTSTATE$ output : $HOSTOUTPUT$ contact: $CONTACTEMAIL$ $LONGDATETIME$
+ command_line /usr/local/shinken/libexec/notify.sh $NOTIFICATIONTYPE$ : $HOSTNAME$ at $HOSTADDRESS$ is $HOSTSTATE$ output : $HOSTOUTPUT$ contact: $CONTACTEMAIL$ $LONGDATETIME$
}
@@ -2,33 +2,33 @@
define command{
command_name check_local_disk
- command_line c:\shinken\src\check.cmd $HOSTADDRESS$ -c $ARG1$ SERVICE $USER1$
+ command_line c:\shinken\libexec\check.cmd $HOSTADDRESS$ -c $ARG1$ SERVICE $USER1$
}
define command{
command_name super_event_kill_everyone
- command_line c:\shinken\src\check.cmd $HOSTADDRESS$ -c $ARG1$ SERVICE $_HOSTDELLSUCK$
+ command_line c:\shinken\libexec\check.cmd $HOSTADDRESS$ -c $ARG1$ SERVICE $_HOSTDELLSUCK$
}
define command{
command_name check_http
- command_line c:\shinken\src\check.cmd $HOSTADDRESS$ -c $ARG1$ SERVICE $_HOSTDELLSUCK$
+ command_line c:\shinken\libexec\check.cmd $HOSTADDRESS$ -c $ARG1$ SERVICE $_HOSTDELLSUCK$
}
define command{
command_name check-host-alive
- command_line c:\shinken\src\check.cmd $HOSTADDRESS$ -c $ARG1$ HOST $_HOSTDELLSUCK$ $SERVICEDESC:srv-1:Service-2$ $SERVICEDESC::Service-30$ $HOSTADDRESS:$ $HOSTGROUPALIAS:linux-servers$
+ command_line c:\shinken\libexec\check.cmd $HOSTADDRESS$ -c $ARG1$ HOST $_HOSTDELLSUCK$ $SERVICEDESC:srv-1:Service-2$ $SERVICEDESC::Service-30$ $HOSTADDRESS:$ $HOSTGROUPALIAS:linux-servers$
}
define command{
command_name notify-service-by-email
- command_line c:\shinken\src\check.cmd $NOTIFICATIONTYPE$ : $SERVICEDESC$ is $SERVICESTATE$ ouput = $SERVICEOUTPUT$ contact: $CONTACTEMAIL$ $LONGDATETIME$
+ command_line c:\shinken\libexec\check.cmd $NOTIFICATIONTYPE$ : $SERVICEDESC$ is $SERVICESTATE$ ouput = $SERVICEOUTPUT$ contact: $CONTACTEMAIL$ $LONGDATETIME$
}
define command{
command_name notify-host-by-email
- command_line c:\shinken\src\check.cmd $NOTIFICATIONTYPE$ : $HOSTNAME$ at $HOSTADDRESS$ is $HOSTSTATE$ output : $HOSTOUTPUT$ contact: $CONTACTEMAIL$ $LONGDATETIME$
+ command_line c:\shinken\libexec\check.cmd $NOTIFICATIONTYPE$ : $HOSTNAME$ at $HOSTADDRESS$ is $HOSTSTATE$ output : $HOSTOUTPUT$ contact: $CONTACTEMAIL$ $LONGDATETIME$
}
define contact{
File renamed without changes.
Oops, something went wrong.

0 comments on commit 38304a8

Please sign in to comment.