New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


windows certificate

Votes:

0

Your Vote:

Up

Down

I use a custom sensor to monitor my windows certificate : WinCertExpiration.exe. It works on 2 windows server 2008 and 2012. But it doesn't work on a SBS2008.

When I write my command directly on the SBS prompt with all parameters (IP, certificate store name, account and thumprint) it works but when i use those parameters in PRTG, it say "certificate not found" but i search in the good certificate store !!

Have you an idea ? i think something block me on the SBS...

certificate custom-sensor windows

Created on Feb 15, 2016 9:29:04 AM by  maianoinfo (0) 1



5 Replies

Votes:

0

Your Vote:

Up

Down

Dear maianoinfo

Please use the "write result to disk" option in the Exe/Script sensor to see the full output which PRTG gets when the script is executed. This might help with the debugging of the issue.

Created on Feb 16, 2016 2:52:57 PM by  Arne Seifert [Paessler Support]



Votes:

0

Your Vote:

Up

Down

It write the same things as my sensor : "certificate not found" I try to install it on an ohter SBS server today and i have the same problem

Created on Feb 16, 2016 3:31:05 PM by  maianoinfo (0) 1



Votes:

0

Your Vote:

Up

Down

Dear maianoinfo,

You are saying that the sensor works from the command prompt.

Have you tried adding the -u= and -p= parameters running it from PRTG?
These parameters can be used to supply credentials like those from the user account that can run the sensor with expected result from the command prompt.

Created on Feb 16, 2016 6:24:22 PM by  PRTG Tools Family [prtgtoolsfamily.com] (12,995) 3 4



Votes:

0

Your Vote:

Up

Down

yes it works in the command prompt and i use -u and -p in my sensor. for example i launch this command in the windows command prompt : wincertexpiration.exe -h=192.168.253.203 -s=CertificateAuthority -s=Disallowed -s=My -u=mydomain\user -p=mypassword -t=‎‎123456789abcdef (the thumbprint of my certificate) and it return the number of remaining. when i use all parameters in my sensor : -h=192.168.253.203 -s=CertificateAuthority -s=Disallowed -s=My -u=mydomain\user -p=mypassword -t=‎‎123456789abcdef, the sensor return "certificate not found"

Created on Feb 17, 2016 10:52:01 AM by  maianoinfo (0) 1



Votes:

0

Your Vote:

Up

Down

I think that the "My" store for the user running the sensor from the command prompt differs from the "My" store for the account that runs the PRTG probe (by default the local system account)

Created on Feb 17, 2016 12:45:43 PM by  PRTG Tools Family [prtgtoolsfamily.com] (12,995) 3 4



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.