You are not logged in.
So far the pairing of GLPI and OCS-NG looks like a dream come true. It looks great.
However, the majority of the details don't come over, like all the installed software, monitors, printers, registry settings etc. Is there a problem with my install, or do I just need to wait a bit for the developer to work on it more?
Or do I need to put in ahead, things like manufacturer, model, etc.
Can some one say what the roadmap looks like for the GLPI--OCS-NG link?
Thanks,
John
Last edited by jivago (2005-08-24 06:33:55)
Offline
You have to wait a bit, we work on it...
We plan to work with the ocs-ng team on september.
So the plugin would be more efficient....
Be patient.
JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au projet GLPI : Soutenir
Offline
I also had the problem with insufficient data coming from OCS, so updated the importscript myself . I made the changes in glpi\plugins\ocs\functions\functions.php.
- The IP address of a computer is stored as the serial2 (otherserial) of a computer.
- The description of a computer becomes the contact in glpi.
- The serialnumber of OCS (bios) is saved in serial of glpi.
- The model of a computer in OCS (bios) is shown as a comment of a computer in glpi.
Maybe somebody else can use this changes, thats the reason I post them here. Just put the following code between the if statement of function ocsAddComputerDevices.
grtz,
Stijn
//the IP ADDRESS and contactInformation
$IP = $line["IPADDR"];
$contact = $line["DESCRIPTION"];
$dbglpi = new DB();
$query2="UPDATE glpi_computers SET otherserial='$IP' , contact = '$contact' where id=$glpi_id";
$result2=$dbglpi->query($query2);
// serialnumber and model
$dbocs = new DBocs;
$query2 = "select ssn,smodel from bios where DEVICEID = '".$line["DEVICEID"]."'";
$result2 = $dbocs->query($query2);
if($dbocs->numrows($result2) > 0) {
$ssn = MYSQL_RESULT($result2,0,"ssn");
$smodel = MYSQL_RESULT($result2,0,"smodel");
$dbglpi = new DB();
$query3="UPDATE glpi_computers SET serial='$ssn' , comments = '$smodel' where id=$glpi_id";
$result3=$dbglpi->query($query3);
}
Offline
Hi JMD,
Before anything else, thank you very much for your wonderful software.
Bye the way, you had mentioned before (please see the message below) that your planning to work with the
ocs-ng team on september, any updates about that.
Also, will you please send me some guidelines on how can I setup/enable the GLPI's email forwarding with our Microsoft Exchange 2003 server. Do I need to install qmail on my 'Gentoo GLPI Linux' box itself ?
Lastly, I need some guidelines to integrate GLPI with our Active Directory for authentication.
Waiting for your king reply.
Thank you and Best Regards,
Jojo
------------------------------------------------------------------
You have to wait a bit, we work on it...
We plan to work with the ocs-ng team on september.
So the plugin would be more efficient....
Be patient.
JMD / Jean-Mathieu Doléans
Association INDEPNET
Offline
To enable amail followup go to menu administration->setup->email followups.
Linking a linux smtp with an exchange 2003 has nothing to do with GLPI, so you have to find help elsewhere.
I've just done some (bad) english translation for the glpi-LDAP-AD documentation, you'll find it on the section documentation on the project site.
Bazile Lebeau
Offline
Thanks you very much for the replied.
I hope the GLPI-LDAP-AD documentation will help me.
Again, Thank you.
Jojo
Offline
Hi again baaz ,
You mentioned from your email below that I just need to go to menu administration->setup->email followups.
Do I need to have a mail server installed and running on my GLPI linux box (gentoo x86-universal-2005.1) first before it works ?
Regards,
Jojo
To enable amail followup go to menu administration->setup->email followups.
Linking a linux smtp with an exchange 2003 has nothing to do with GLPI, so you have to find help elsewhere.
I've just done some (bad) english translation for the glpi-LDAP-AD documentation, you'll find it on the section documentation on the project site.
Offline
If you don't have any mailer (not even sendmail ????).
you've two alternatives solutions :
- You've to shunt the mail process before it is send via the smtp, and redirect it to your smtp througt a simple socket (that's not so simple in fact).
- I don't know If it's possible to configure php in order to use a remote smtp on linux, but ... feel free to search/
The best way in my opinion is to enable sendmail on your box, if it's not already done.
Last edited by baaz (2005-09-21 17:39:53)
Bazile Lebeau
Offline
Hi Stijn,
Thank you very much for your script below, it works fine on my oc splugin. Hoping that you will post any new update for this script while waiting for the final version of ocs-glpi plugin.
Regards,
Jj
I also had the problem with insufficient data coming from OCS, so updated the importscript myself . I made the changes in glpi\plugins\ocs\functions\functions.php.
- The IP address of a computer is stored as the serial2 (otherserial) of a computer.
- The description of a computer becomes the contact in glpi.
- The serialnumber of OCS (bios) is saved in serial of glpi.
- The model of a computer in OCS (bios) is shown as a comment of a computer in glpi.Maybe somebody else can use this changes, thats the reason I post them here. Just put the following code between the if statement of function ocsAddComputerDevices.
grtz,
Stijn//the IP ADDRESS and contactInformation
$IP = $line["IPADDR"];
$contact = $line["DESCRIPTION"];
$dbglpi = new DB();
$query2="UPDATE glpi_computers SET otherserial='$IP' , contact = '$contact' where id=$glpi_id";
$result2=$dbglpi->query($query2);
// serialnumber and model
$dbocs = new DBocs;
$query2 = "select ssn,smodel from bios where DEVICEID = '".$line["DEVICEID"]."'";
$result2 = $dbocs->query($query2);
if($dbocs->numrows($result2) > 0) {
$ssn = MYSQL_RESULT($result2,0,"ssn");
$smodel = MYSQL_RESULT($result2,0,"smodel");
$dbglpi = new DB();
$query3="UPDATE glpi_computers SET serial='$ssn' , comments = '$smodel' where id=$glpi_id";
$result3=$dbglpi->query($query3);
}
Offline
Soory for my poor english.
I installed glpi on linux gentoo(on this machine i have sendmail) . My mail server is on another linux machine.
I want that my helpdesk tehnician to be notifyed by email for all new intervention.
How can i do that ?
what do i need to configure ?
Thanks in advance !
If you don't have any mailer (not even sendmail ????).
you've two alternatives solutions :
- You've to shunt the mail process before it is send via the smtp, and redirect it to your smtp througt a simple socket (that's not so simple in fact).
- I don't know If it's possible to configure php in order to use a remote smtp on linux, but ... feel free to search/
The best way in my opinion is to enable sendmail on your box, if it's not already done.
Offline