You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2005-08-24 06:32:27

jivago
Member
From: Florida
Registered: 2005-07-12
Posts: 5

Getting more PC values transfered from OCS-NG?

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

#2 2005-08-24 09:11:56

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Getting more PC values transfered from OCS-NG?

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

#3 2005-08-25 13:19:55

stynovich
Member
Registered: 2005-08-12
Posts: 3

Re: Getting more PC values transfered from OCS-NG?

I also had the problem with insufficient data coming from OCS, so updated the importscript myself big_smile. 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

#4 2005-09-20 12:04:33

Jojo
Member
Registered: 2005-09-19
Posts: 14

Re: Getting more PC values transfered from OCS-NG?

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

#5 2005-09-20 17:43:30

baaz
Member
Registered: 2004-09-13
Posts: 513

Re: Getting more PC values transfered from OCS-NG?

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

#6 2005-09-21 16:42:26

Jojo
Member
Registered: 2005-09-19
Posts: 14

Re: Getting more PC values transfered from OCS-NG?

Thanks you very much for the replied.

I hope the GLPI-LDAP-AD documentation will help me.

Again, Thank you.

Jojo

Offline

#7 2005-09-21 17:02:43

Jojo
Member
Registered: 2005-09-19
Posts: 14

Re: Getting more PC values transfered from OCS-NG?

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



baaz wrote:

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

#8 2005-09-21 17:38:09

baaz
Member
Registered: 2004-09-13
Posts: 513

Re: Getting more PC values transfered from OCS-NG?

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

#9 2005-10-04 15:37:25

Jojo
Member
Registered: 2005-09-19
Posts: 14

Re: Getting more PC values transfered from OCS-NG?

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







stynovich wrote:

I also had the problem with insufficient data coming from OCS, so updated the importscript myself big_smile. 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

#10 2005-12-23 10:59:44

ionut26
Member
Registered: 2005-12-20
Posts: 5

Re: Getting more PC values transfered from OCS-NG?

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 !



baaz wrote:

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

Board footer

Powered by FluxBB