Hello,
I am trying to run a powershell script on windows server and to return a value. I add it to the mrpe section in check_mk.ini. When I scan the target host it just sits at the scan and does nothing, then I look on the check_mk pages and it says the service time out.
I made sure the file itself is associated as a powershell script and not notepad or another program. I made sure the script can execute and runs properly, which it does.
Any ideas?
Thanks
Confidentiality Warning: This message and any attachments are intended only for the use of the intended recipient(s), are confidential, and may be privileged. If you are not the intended recipient, you are hereby notified that any review, retransmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, and delete this message and any attachments from your system. Thank you.
···
Information confidentielle: Le présent message, ainsi que tout fichier qui y est joint, est envoyé à l’intention exclusive de son ou de ses destinataires; il est de nature confidentielle et peut constituer une information privilégiée. Nous avertissons toute personne autre que le destinataire prévu que tout examen, réacheminement, impression, copie, distribution ou autre utilisation de ce message et de tout fichier qui y est joint est strictement interdit. Si vous n’êtes pas le destinataire prévu, veuillez en aviser immédiatement l’expéditeur par retour de courriel et supprimer ce message et tout document joint de votre système. Merci.
I checked the log file and all I see is that it is opening the file and then nothing after that
See attached log file
crash.log (22.2 KB)
···
-----Original Message-----
From: checkmk-en-bounces@lists.mathias-kettner.de [mailto:checkmk-en-bounces@lists.mathias-kettner.de] On Behalf Of Florian Heigl
Sent: August 22, 2012 11:29 AM
To: checkmk-en@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] Running powershell script - causes service timeout
Hi,
On Wed, 22 Aug 2012 09:34:09 -0400 Antonio Pereira <APereira@rha.ca> wrote:
I am trying to run a powershell script on windows server and to return
a value. I add it to the mrpe section in check_mk.ini. When I scan the
target host it just sits at the scan and does nothing, then I look on
the check_mk pages and it says the service time out.
I made sure the file itself is associated as a powershell script and
not notepad or another program. I made sure the script can execute and
runs properly, which it does.
run the agent in test or debug mode and see whats happening.
Florian
--
Mathias Kettner GmbH
Registergericht: Amtsgericht München, HRB 165902
Firmensitz: Kellerstrasse 29, 81667 München
Geschäftsführer: Mathias Kettner
Tel. 089 / 1890 4210
Fax 089 / 1890 4211
http://mathias-kettner.de
_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Confidentiality Warning: This message and any attachments are intended only for the use of the
intended recipient(s), are confidential, and may be privileged. If you are not the intended
recipient, you are hereby notified that any review, retransmission, conversion to hard copy,
copying, circulation or other use of this message and any attachments is strictly prohibited.
If you are not the intended recipient, please notify the sender immediately by return e-mail,
and delete this message and any attachments from your system. Thank you.
Information confidentielle: Le présent message, ainsi que tout fichier qui y est joint, est
envoyé à l'intention exclusive de son ou de ses destinataires; il est de nature confidentielle
et peut constituer une information privilégiée. Nous avertissons toute personne autre que le
destinataire prévu que tout examen, réacheminement, impression, copie, distribution ou autre
utilisation de ce message et de tout fichier qui y est joint est strictement interdit. Si vous
n'êtes pas le destinataire prévu, veuillez en aviser immédiatement l'expéditeur par retour de
courriel et supprimer ce message et tout document joint de votre système. Merci.