Hi,
I tried to create a schedule task, "C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXE\PTF.CSVExport\CSVExport.exe" but got an error.
I want to automatically generate report for all ports in my 2 x 24 ports switch everyday instead of going to command prompt and enter the CSV Script manually.
c:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\Exe>CSVExport -pu=username -pp=password -ps=https://192.168.180.200:443 -s=2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2137,2138,2139,2140,2141,2142,2143,2144,2145,2146,2147,2148,2149,2150,2151,2152,2153 -f=Z:\PRTGFOLDER
I'm still evaluating the product so please i need you assistance on this.
Thanks,
Article Comments
Hi,
When the scheduled task is expected to run, it only shows PTF CSVExport 13.41 Usage parameter window.
For the batch script, i'm not familiar in adding the CSVExport script on the text editor.
Regards, Oscar
Jul, 2014 - Permalink
Hi,
create a file called e.g. csvexport.bat which sits in the same folder as the EXE file. Then put the following content in it:
@echo off start /d "c:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\Exe" CSVExport.exe pu=username -pp=password -ps=https://192.168.180.200:443 -s=2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2137,2138,2139,2140,2141,2142,2143,2144,2145,2146,2147,2148,2149,2150,2151,2152,2153 -f=Z:\PRTGFOLDER
Just make sure to replace the username and password. Then try adding a scheduled task which calls the batch file instead the EXE.
Does that work?
Jul, 2014 - Permalink
Hi,
I tried to open notepad and input that text. Save the file into .bat inside the folder of CSVExport.
When it's time to run using schedule task, I got command prompt saying to continue on the CSVExport, click ok. Upon clicking, it shows PTF CSVExport 13.41 Usage parameter window.
Jul, 2014 - Permalink
Hi,
please send an email to support@paessler.com and include screenshots as well as the exact call you are using in the batch script.
When sending the email, please refer to this thread.
Best regards
Jul, 2014 - Permalink
Hi,
What precise error message are you getting when trying to create a scheduled task?
Have you tried to wrap up the call to CSVExport in a batch script?
Best regards
Jul, 2014 - Permalink