The bug is solved :)
The process was not cleaned after the pooling under windows.
For the source under windows I don't know. I never try to get the "nagios-plugins" runs under Windows, but if no one do it, we can try to install a compiler under a windows a compile it by ourselve :)
But look at monitoring-exchange, I think it should be some plugins already done for Windows, like check_tcp for example.
On Mon, Nov 29, 2010 at 3:10 PM, QuickeneR <email@example.com> wrote:
I'm back trying shinken on windows. Here is another trouble, in the log HOST ALERT: localhost;DOWN;SOFT;1;
 HOST ALERT: localhost;DOWN;HARD;2;
 HOST NOTIFICATION: Windows_administrator;localhost;DOWN;notify-host-by-email;
 Warning : the notification command '/usr/local/shinken/libexec/bsendmailhost.bat "my@email" "PROBLEM localhost DOWN localhost 29-11-2010 16:11:50"' raised an error (exit code=3) : 'None'
Right, this should be fixed in resource.cfg with something like $USER1$=c:/shinken/libexec
But now I get a different error. In the log [Default-Poller] Warning : the worker 0 goes down unexpectly!
 [Default-Poller] Allocating new Worker : 1
And in the poller window[Default-Scheduler]Stats : Workers:1 (Queued:0 Processing:1 ReturnWait:0)
Wait ratio: 1.0
Ask actions to 0 got 1
Process Process-2:File "c:\shinken\shinken\worker.py", line 198, in work
Traceback (most recent call last):
File "E:\Python27\lib\multiprocessing\process.py", line 232, in _bootstrap
File "E:\Python27\lib\multiprocessing\process.py", line 88, in run
File "c:\shinken\shinken\worker.py", line 148, in manage_finished_checks
File "<string>", line 2, in append
File "E:\Python27\lib\multiprocessing\managers.py", line 732, in _callmethod
conn.send((self._id, methodname, args, kwds))
UnpickleableError: Cannot pickle <type '_subprocess_handle'> objectsOh Thanks, it look like there is a problem of a "self.process" that should not be deleted like it should. I'll try to see. It seems to occur when the process failed, and so it's not "cleaned" (the object sending cannot be done with a 'process' in it).
------------------------------------------------------------------------------By the way, is there any established source for getting nagios plugins for windows?
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
Shinken-devel mailing list