Hi All,
I am having an issue with scheduling reportit plugin on windows.
I tried running runtime.php from the CLI and it went as follows :
C:\Inetpub\wwwroot\cacti\plugins\reportit\ php runtime.php -d
Invalid PHP_SELF Path
My cacti graphs are working fine and when i tried to run the daily report through Cacti GUI, it worked fine as well.
Am not sure why I got this error.
Could anyone please explain me this error and suggest a Soln -
I tried the directions on this thread and it did not work--
http://forums.cacti.net/about25759-0-asc-0.html
Thanks in advance
Report-it (runtime.php scheduling error)
Moderators: Developers, Moderators
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Re: Report-it (runtime.php scheduling error)
That's based on a bug in the plugin architecture and it will occur with every CLI script. Use the full path as follows until PIA 2.2 will published:sumitohri wrote:Hi All,
I am having an issue with scheduling reportit plugin on windows.
I tried running runtime.php from the CLI and it went as follows :
C:\Inetpub\wwwroot\cacti\plugins\reportit\ php runtime.php -d
Invalid PHP_SELF Path
My cacti graphs are working fine and when i tried to run the daily report through Cacti GUI, it worked fine as well.
Am not sure why I got this error.
Could anyone please explain me this error and suggest a Soln -
I tried the directions on this thread and it did not work--
http://forums.cacti.net/about25759-0-asc-0.html
Thanks in advance
Code: Select all
"php C:\Inetpub\wwwroot\cacti\plugins\reportit\runtime.php -d"
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
Hey thanks Andreas for that.... i kinda did that earlier and it worked for me ...
but the issue is how do I issue that in the scheduled Tasks for windows for the report to be scheduled automatically.
Also, as a note if I run php poller.php from the cmd line ... that doesn't give that me any such error
Another question is that email that's sent out..... when i open the .csv attachment thru Excel the formatting is all wrong... is there better way to send out emails or open these files.... please advice
but the issue is how do I issue that in the scheduled Tasks for windows for the report to be scheduled automatically.
Also, as a note if I run php poller.php from the cmd line ... that doesn't give that me any such error
Another question is that email that's sent out..... when i open the .csv attachment thru Excel the formatting is all wrong... is there better way to send out emails or open these files.... please advice
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
You've to setup a scheduled task for every frequency (max. 5: daily, weekly, monthly, quarterly, yearly).
Take a look at :http://forums.cacti.net/viewtopic.php?p=101166#101166
Best regards
-Andreas-
Take a look at :http://forums.cacti.net/viewtopic.php?p=101166#101166
The poller is a fixed part of Cacti - only plugins are affected by that issue. Sorry, I didn't want to mislead you in that point.Also, as a note if I run php poller.php from the cmd line ... that doesn't give that me any such error
Yep! Every user can define it's preferred column and decimal separator. Click on the "graphs" tab and then on "settings" in the upper right corner.Another question is that email that's sent out..... when i open the .csv attachment thru Excel the formatting is all wrong... is there better way to send out emails or open these files....
Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
Yep! Every user can define it's preferred column and decimal separator. Click on the "graphs" tab and then on "settings" in the upper right corner.Another question is that email that's sent out..... when i open the .csv attachment thru Excel the formatting is all wrong... is there better way to send out emails or open these files....
[/quote]
Thanks Andreas for all your help, it was really helpful
The report is not that well formatted even after playing with column and decimal seperators. I will try to write a script to manipulate the .csv file that i receive.
- Sumit
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
What do you mean with "well formatted"? Please note that CSV files are unable to contain any kind of formatting.
Best regards
-Andreas-
Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
Who is online
Users browsing this forum: No registered users and 6 guests