This code is specific to nagios, I don't think it is supported on Windows. I'm a little concerned about making changes here, since we don't test nagios integration at all.