Reportit Windows Scheduler reports

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
asantos02
Posts: 26
Joined: Wed May 02, 2007 6:56 pm

Reportit Windows Scheduler reports

Post by asantos02 »

Hi all,


When I could find a manual for windows? specialy the issue of scheduler task? (cron tab in Linux)



Thanks,


Alfredo Santos
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

Hi Alfredo,

that's a really good question. My first thought was: "Mmmh, I've never tried this on Windows before." So I've just taken a look at my Windows PC and it's not really difficult. :wink:

At first take a look at the microsoft manual "How to Schedule Taks" under http://support.microsoft.com/kb/308569/en-us.

For scheduled reporting you have to start the runtime.php script that is contained in the reportit folder. Call it from the CLI with "php runtime.php" to get a list of supported parameters.

The screen shot shows a task for daily reporting. Sorry, but my version of Windows isn't multilingual. Don't forget to use an admin account!
When the scheduled task has been finished you will also find a new entry in the cacti logfile.

Best regards,
-Andreas-
Attachments
schedule.PNG
schedule.PNG (46.21 KiB) Viewed 4854 times
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
looc
Cacti User
Posts: 110
Joined: Mon Aug 13, 2007 3:40 am

Post by looc »

browniebraun wrote:Hi Alfredo,

that's a really good question. My first thought was: "Mmmh, I've never tried this on Windows before." So I've just taken a look at my Windows PC and it's not really difficult. :wink:

At first take a look at the microsoft manual "How to Schedule Taks" under http://support.microsoft.com/kb/308569/en-us.

For scheduled reporting you have to start the runtime.php script that is contained in the reportit folder. Call it from the CLI with "php runtime.php" to get a list of supported parameters.

The screen shot shows a task for daily reporting. Sorry, but my version of Windows isn't multilingual. Don't forget to use an admin account!
When the scheduled task has been finished you will also find a new entry in the cacti logfile.

Best regards,
-Andreas-
i make my reports choices scheduled.and create make reports scheduled in my win2003.
but mybe not run it .
log:
PLUGIN:Poller[0]REPORTIT STATS:Frequency:daily Time:0 Reports:0
Cacti Version - 0.8.7 & spine
Plugin Architecture - 1.3
Server Info - Windows 2003 EP
Web Server -IIS6.0
PHP - 5.2.3
MySQL - 4.1.10
RRDTool - 1.2.15
SNMP - 5.4.1
--------------------------
plugins:
reportit 0.5.1|monitor 0.8.1|thold 0.3.8
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

Hi Looc!

It seems to me that you've forgotten to set up your report configuration correctly for this task, because the it hasn't found any reports for calculating.
Therefore the parameter of your scheduled task has to match with the frequency of your report configuration.

E.g. "Daily reporting":
Scheduled task contains the following command:
"php runtime.php -d"
Report configuration: (see picture below)

You can see all parameters which are available by calling runtime.php at the CLI. (second picture).

Best regards
-Andreas-
Attachments
parameters.PNG
parameters.PNG (6.5 KiB) Viewed 4292 times
daily_reporting.PNG
daily_reporting.PNG (12.7 KiB) Viewed 4292 times
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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest