raintank / raintank-collector

Raintank Remote Collector Agent
26 stars 4 forks source link

checks running before monitorTypes loaded #10

Closed woodsaj closed 9 years ago

woodsaj commented 9 years ago

[2015-05-15 10:34:48.001] [DEBUG] PID:1213 - running check 144 now. [2015-05-15 10:34:48.001] [DEBUG] PID:1213 - running check 144 again in 9999 ms

/home/asr/rtstable/raintank-collector/serviceManager.js:191 var type = monitorTypes[service.monitor_type_id].name.toLowerCase(); ^ TypeError: Cannot read property 'name' of undefined at run (/home/asr/rtstable/raintank-collector/serviceManager.js:191:53) at null. (/home/asr/rtstable/raintank-collector/serviceManager.js:338:13) at Timer.listOnTimeout as ontimeout [2015-05-15 10:34:52.126] [ERROR] PID:1207 - worker 1213 died, restarting. [2015-05-15 10:34:52.567] [INFO] PID:1239 - connected to socket.io server [2015-05-15 10:34:52.616] [DEBUG] PID:1239 - refreshing checks: check count: 22