Open fredhohenstein opened 6 years ago
Seemingly, the installation was done correctly. Did you already define some maintenance windows that are not reflected in the log? Did you enable the log file in PRTG? Then it should be in PRTG's data directory. As for PHP, you don't need an extra webserver, as I'm executing the index.php directly via PHP.
Maybe I made a type in the 3th maintenance deffinition..
[01.11.2018 17:59:33]|_ PHP 7.2.11 | CodeIgniter 3.1.5 | PRTG Scheduler 1.0 [01.11.2018 17:59:33]| No sensors with configured maintenances found. [01.11.2018 17:59:33]| No devices with configured maintenances found. [01.11.2018 17:59:33]| No groups with configured maintenances found. [01.11.2018 17:59:33]| Maintenance list is empty, creating a new one. [01.11.2018 17:59:33]| Active maintenances couldn't be updated. Error: (0) [01.11.2018 17:59:33]| Maintenance list is empty, creating a new one. [01.11.2018 17:59:33]| Active maintenances couldn't be updated. Error: (0) [01.11.2018 17:59:33]| Maintenance list is empty, creating a new one. [01.11.2018 17:59:33]|__ Active maintenances couldn't be updated. Error: (0) {"prtg":{"result":[{"Channel":"Sensor Maintenance(s)","Value":0},{"Channel":"Device Maintenances(s)","Value":0},{"Channel":"Group Maintenances(s)","Value":0},{"Channel":"Total Maintenances(s)","Value":0},{"Channel":"Erroneous Definition(s)","Value":0}],"text":""}}
Or do yoe mean another logfile?
GRt Fred
I can confirm that this seemingly is broken in the current code. I'm currently implementing this add-on in Ruby and it will most likely be a lot easier to maintain/configure/install. I hope to have a running version in the next two weeks, please bear with me for the time being :) I'll publish it here when it's ready.
Thanks for the feedback!!
Good luck and happy debugging!!
Grtz Fred
Any news on this addon? Really wish PRTG would support this directly.
How can I check that the php part of this application is working correctly?
When I run the powershell script I receive the following inforamtion: PS C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML> C:\Program Files (x86)\PRTG Network Monitor\Custom Sensors\EXEXML\PRTG-Scheduler.ps1