Hi - Is there some way to generate a daily status report (via e-mail) that will show the CURRENT status of all sensors, or more preferably just those that are down?
Thanks, James
Article Comments
This is possible with PTF.Status2Email
PTF.Status2Email sends the current alarms and warnings by email. The application can be used as a Custom Notification or as a scheduled task, sending an email every morning.
PTF.Status2Email requires the following parameters:
-pu= PRTG username. -pp= PRTG password or passhash * -ps= PRTG server ip or domainname and optional portnumber. -ms= IP od domainname of your mailserver. -fr= The FROM address of the email to send. -to= The TO address to send the email to. -ss= Optional parameter for sensor statusses that need to be reported supported values are d(own), w(arning), p(aused) and u(nusual) e.g. -ss=dwpu (default = dw) -ssl3 Optional parameter to force a SSL3 connection to your PRTG server.
Example email:
The application can be downloaded here
Aug, 2011 - Permalink
Page not found?
Can you post the file with the costume code, and describe where to establish this file
Thanks
Jun, 2014 - Permalink
On the "Page not Found" page, please click the suggested link
or navigate directly to http://prtgtoolsfamily.com/?page=status2email
Jun, 2014 - Permalink
This looks a useful tool.
We have been experimenting with this but can only get this to work if we change PRTG to listen on port 80, i.e. use Insecure mode.
For production use we use PRTG in secure mode, i.e. listening on Port 443.
Using the -ps parameter we specify ps-servername:443 but we receive an email saying "The underlying connection was closed: The connection was closed unexpectedly."
Does this not work with PRTG set to the recommended configuration or are we doing something wrong?
It would also be useful to be able to report on up sensors as well, as reassurance in a daily report is what we are after. Is this possible?
Thank you
Jun, 2014 - Permalink
Hi Richard,
When using secure mode, you have to supply the protocol. So, in your case
-ps=ormnprtg001:443
becomes
-ps=https://ormnprtg001:443
As 443 is the default https port,
-ps=https://ormnprtg001
will also work.
Jun, 2014 - Permalink
I found it here: http://prtgtoolsfamily.com/us/downloads/notifications.html Thank you!
Jun, 2014 - Permalink
Dear James,
I'm afraid this is not possible in the moment.
best regards.
Aug, 2011 - Permalink