AW: [Check_mk (english)] agent for windows and Powershell scripts /agent error 1067
Hi,
thats is the reason why I asked.
···
-----Ursprüngliche Nachricht-----
Von: Eikelenboom, Hans [mailto:Heikelenboom@alphenaandenrijn.nl]
Gesendet: Mi 17.08.2011 20:40
An: Fritsch, Jens; checkmk-en@lists.mathias-kettner.de
Betreff: RE: [Check_mk (english)] agent for windows and Powershell scripts /agent error 1067
Hi,
I’m also intressed to monitor exchange 2003 or performance counters
using wmi, powershell etc.
Has anyone a example of a batch file using wmi or just PowerShell.
Thanks in Advance
Eikelenboom, Hans
Servicebeheer en Beleid - ICT Beheer
Gemeente Alphen aan den Rijn
Stadhuisplein 1, , 2405 SH, Alphen aan den Rijn
T 465547 | M | F
E HEikelenboom@alphenaandenrijn.nl | I
W http://www.alphenaandenrijn.nl <http://www.alphenaandenrijn.nl/>
P Please consider the environment before printing this e-mail
Werkdagen: Ma,Di,Wo en Vr
Van: checkmk-en-bounces@lists.mathias-kettner.de
[mailto:checkmk-en-bounces@lists.mathias-kettner.de] Namens Fritsch,
Jens
Verzonden: woensdag 17 augustus 2011 17:59
Aan: checkmk-en@lists.mathias-kettner.de
Onderwerp: [Check_mk (english)] agent for windows and Powershell scripts
/agent error 1067
Hi,
i use check_mk for Linux and it works fine (check_mk is a great tool,
thanks a lot Mathias and your team !!! ).
The next task is “windows monitoring” with check_mk (sadly, in this case
exchange monitoring). I try it since couple of days. The “basic checks”
works fine (cpu, hdd, wmi access via batch etc). Now I want use
powershell scripts as Plugin for windows check_mk_agent.
My questions:
- Can I use Powershell-Scripts with windows check_mk_agent? Or works
only vbs and batch scripts?
- Is the problem known?: If I wrote a script with mistakes (inadvertent
), after that hangs the agent. I can’t stop the agent. I can only do
it via command line and “taskkill”. And after that I don’t can start
the agent (I get an error: 1067). At the moment I must reboot the host.
Has someone the same issue?
Agent: v1.1.11i1
Windows: Windows 2008 R2 Enterprise 64bit SP1, 4GB RAM
Thanks for your help / answers.
cu Jens
Think green - keep it on the screen. This e-mail and any attachment is
for authorised use by the intended recipient(s) only. It may contain
proprietary material, confidential information and/or be subject to
legal privilege. It should not be copied, disclosed to, retained or used
by, any other party. If you are not an intended recipient then please
promptly delete this e-mail and any attachment and all copies and inform
the sender. Thank you.
Think green - keep it on the screen.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.