You are not logged in.
Pages: 1
I posted a while ago about the reports plugin, and was just wondering if progress was being made on users being able to create custom reports?
I'm looking for something to generate a detailed list of all Computers, Monitors, etc at a particular Location. Any idea on how to do this with or without the reporting plugin?
Any third party SQL reporting tools that users here know of?
My Configuration: GLPI .72.3 running on XAMPP from a VMware Virtual Machine (Windows XP). PHP 5.2, Apache 2.2.3...
Offline
Try with search in computer list and can export in CSV or PDF
Offline
That's exactly what I've been doing, it seems to be the best way to generate reports. I was just wondering if anyone has alternatives? What do other people use?
My Configuration: GLPI .72.3 running on XAMPP from a VMware Virtual Machine (Windows XP). PHP 5.2, Apache 2.2.3...
Offline
I use the reports plugin. Creating new reports isn't too bad if you know how to write SQL and understand the schema, since you need to write the SQL statements yourself and place them into files. I used the reports that came with the plugin to figure out how to write custom reports. It took some time, but I got through it. This forum is a great resource also if you need help writing the query.
I don't know of any plugins that have a graphic interface at this time, like the search function embedded in GLPI. I usually write reports when I want a query to span multiple or all device types.
You can also put GLPI in debug mode to see SQL statements that get executed for different screens to get you started.
PROD: RHEL 5 on x86 32bit -- PHP 5.1.6 -- Apache 2.2.3 -- MySQL 5.0.77 -- GLPI 0.72.3 -- OCS-NG 1.02.1/5003
DEV: RHEL 5 on x86 32bit -- PHP 5.1.6 -- Apache 2.2.3 -- MySQL 5.0.77 -- GLPI 0.72.4 -- OCS-NG 1.02.1/5003
Offline
Thanks for the advice.
My Configuration: GLPI .72.3 running on XAMPP from a VMware Virtual Machine (Windows XP). PHP 5.2, Apache 2.2.3...
Offline
I created a new report that I think would be helpful to others. Would I just use the code tags and post it here or is there a specific place to submit some code. Its 200+ lines.
The report itself creates a Time per ticket per User's Followup. Also it uses Activity for tracking time that isn't a ticket such as meetings and creates totals for each entity.
Offline
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
Remi
I tried to send it to the dev list, but I get a rejected message. Do I have to be a subscriber to post? I am not a developer, I would just like to get what I have into more capable hands
Offline
Yes you need to subscribe to be able to post.
+
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline
i am new in linux.....i have got a report plugin for glpi . how can i install it
GLPI plugin
https://forge.indepnet.net/projects/list_files/reports
thanks
Offline
thanks i have done it
Offline
I wrote my report, but it's not working:
<?php
$USEDBREPLICATE= 1;
$DBCONNECION_REQUIRED= 0;
define('GLPI_ROOT', '../../../..');
include(GLPI_ROOT."/inc/includes.php");
$report = new PluginReportsAutoReport();
$report->setColumns(array(new PluginReportsColumn('cname', $LANG['common'][1],
new PluginReportsColumn('dname', $LANG['common'][2],
new PluginReportsColumn('device', $LANG['common'][3],
new PluginReportsColumn('device', $LANG['common'][4],
new PluginReportsColumn('name', $LANG['common'][5],
new PluginReportsColumn('totalsize', $LANG['common'][6],
new PluginReportsColumn('freesize', $LANG['common'][7])));
$query = "SELECT
`glpi_computers`.`name` AS "Komputer",
`glpi_computerdisks`.`name` AS "Nazwa",
`glpi_computerdisks`.`device` AS "Partycja",
`glpi_computerdisks`.`mountpoint` AS "Punkt montowania",
`glpi_filesystems`.`name` AS "Plik systemowy",
`glpi_computerdisks`.`totalsize` AS "Rozmiar",
`glpi_computerdisks`.`freesize` AS "Wolne miejsce"
FROM `glpi_computerdisks`
LEFT JOIN `glpi_filesystems` ON ( `glpi_filesystems`.`id` = `glpi_computerdisks`.`filesystems_id` )
LEFT JOIN `glpi_computers` ON ( `glpi_computers`.`id` = `glpi_computerdisks`.`computers_id` )".
getEntitiesRestrictRequest(" WHERE ", "glpi_computerdisks") ."
ORDER BY `glpi_computers`.`name`, `glpi_computerdisks`.`freesize`";
$report->setGroupBy(array(`glpi_computers`.`name`));
$report->setSqlRequest($query);
$report->execute();
?>
do you know why?
Offline
Pages: 1