You are not logged in.
Was starting with some tests of this plugin under 0.71.5 and would like to head on to 0.72. I have installed the latest 0.72 pre version, but always get the error that PHP/Pecl extension are not installed.
Unfortunately the main discussion about this awesome plugin is in French and I am kinda limited in my vocabulary (My French <=0). I have tried to follow the discussion about PHP/PECL on Windows, but I am looking for a Linux hint. I also upgraded PHP to 5.2.6 where it was supposed to be included (at least that's what I read) but still get the error.
Any hint on how to add these extension, so I can go on. I would probably volunteer for the English and/or German Wiki section for the plugin if I am able to continue under 0.72.
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
The 0.72 version is old version and not work on 0.72 actually.
Try to test this version 1.1.0 on 0.71.5 . In this version, you don't need runkit-pecl. You have need only php-snmp
Offline
Sorry, missunderstanding. I was using the latest Beta2 from you for 0.72 as this is the version of GLPI I would like to test with. Tests with GLPI 0.71.5 were fine so far. That's why I would need to install the runkit. Any rpm packages available for RHEL5 ? Or any guide on how to install that manually ? I just want to have everything on 0.72 as this is the version I am finally aiming on.
By the way the plugin is absolutely great. I made a different approach at least for Cisco switches with some small scripts, but this is really amazing.
Last edited by MHI (2009-02-13 19:30:33)
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
Not install runkit, it has been definitively removed from tracker. The 0.72 version of tracker is obsolete and the next version is in developement in tracker/trunk and not yet compatible with 0.72
Offline
Okay, so I will wait patiently for the next release
Are there any mayor changes planned, or would it make sense to create a WIKI for that already ?
Depending on my time, I would like to take the opportunity to do so.
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
There is on wiki but I must update it.
For the big changes, tracker will come with perl agents (a little like OCS agent) to scan on many network of distance sites.
There is some other changes but I must list them
Offline
Just one remark for the current tracker version and OS/IOS mapping. The result of the OID from Cisco (that's what I can test) is usually extremely long. Is there any chance to parse the important part out of it, as this is identical. If your intention is to use that for other switches as well it gets a bit more complex.
Example:
This whole string is written to the firmware field. I couldn't find OID that is just pulling out the important part (C2900XL-C3H2L9S.....)
OID sysDescr
1.3.6.1.2.1.1.1.0 "Cisco Internetwork Operating System Software
IOS (tm) C2900XL Software (C2900XL-C3H2L9S-M), Version 12.0(5)WC14, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2006 by cisco Systems, Inc.
Compiled Thu 16-Feb-06 14:42 by antonino"
This is the regex I uses in Perl in my script to parse out the important part:
$firmwarepattern = '/IOS \(tm\).+Software \((.+)\)(,.+)Copyright/m';
Maybe you have a different idea, how this can be handled.
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
I will see that, thanks
Offline
One more question. What is meant by "Objet field" when you create the OID values. Should that be the Object decsription of the OID, like "ifDescr" ?
Also I would like to know what is meant by "Counter Ports" (yes/no) and "Dynamic Port" (yes/no)
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
One more question. What is meant by "Objet field" when you create the OID values. Should that be the Object decsription of the OID, like "ifDescr" ?
Also I would like to know what is meant by "Counter Ports" (yes/no) and "Dynamic Port" (yes/no)
I have played a bit around and the tracker_snmp log looks good it's querying all the information fo the switch, but I won't see any data in the "Tableau des ports" view, so I assume I have to map that part in the model section and assign the oid to the specific fields, but for now no such luck. 'I have specified for example the MTU, but it's not written to the db. Can you please post one example config for assigning the MTU oid value to the specific field. One example should be enough for me to pick it up.
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
Counter Ports : it's the oid witch give nomber of port (I use it to query each ports)
Dynamic Port : Its' the oid like .1.3.6.1.2.1.2.2.1.10 witch scan for all ports like :
.1.3.6.1.2.1.2.2.1.10.1
.1.3.6.1.2.1.2.2.1.10.2
.1.3.6.1.2.1.2.2.1.10.3 ....
See Cisco example : http://glpi-project.org/wiki/doku.php?i … alyst_2960
Offline
I got that part, but my question is when I add an OID, can I use random names for the fields "Label MIB and "Objet", or do they need to be specificly named ?
Also I have added one OID for MTU for one specific port and the log shows the value gathered via the SNMP walk. (ex. SNMP QUERY : ifMtu(1.3.6.1.2.1.2.2.1.4.1) = INTEGER: 1500)
And I have then mapped those OID to the MTU field. The problem is, that nothing is written to the database table and how does the plugin know which port is meant. Do I have to create the switch ports for the switch manually before those values will be written to the "Tableau des ports" ? Do I also have to configure all the oid in the right order, so the "Tableau des ports" will be filled ?
Sorry for all that questions, but I guess I just miss out one simple fact and that's why the mapping is not working.
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
The port are created by tracker automatically if oid are OK (It's possible you can have problem with some manufacter)
There is no ordre in the OID list.
You will put obligatory object name (the label is for a short description if you want)
Why don't use cisco models, you can import them in tracker, it's more simple
Offline
I am using Cisco models only, but it's just not working. The OID I have written as en example for the MTU is a Cisco Switch adn the SNMP is correctly caught, but it's not written to any database table and this is what I am wondering about. It's just displayed in the log and that's it.
Last edited by MHI (2009-02-13 15:57:48)
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
what cisco model and firmware have you?
Offline
It's from the C2900XL Series. If I remember right it's a C2924XL-A with IOS (tm) C2900XL Software (C2900XL-C3H2S-M), Version 12.0(5)XU, RELEASE SOFTWARE (fc1). This switch is roughly 10 years old.
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
There is lots of problem with this series 2900, 2912 and 2924. You must update to last firmware to have tracker work.
Offline
Hmm, not good, as we have tons of them in our locations
How about a 3524XL ?
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
3524, use the model for 2960 or 4500, It works
Offline
I will try those ones and I also have a couple of 2960 to test with, so if I understood you right I do have to configure nothing then, or do I have to enter the OIDs and do the mapping of the values manually ?
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
Not enter manually, get code on glpi-tracker-wiki, paste in text file and import it on tracker models page. Assign this model to your switch and execute the tracker script.
Offline
You are the man ! This is the info I was waiting for. I didn't know that you just have ro put your templates into a file and import them and with this I could see a sample OID config. Even the 2924XL are working now
Hope I can contribute some "Model Packages" as well, that's when you are not going to change the structure.
One question though, the ports that are created are usually not numericaly sorted, is that something that is known already ?
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
The correction of sorted data has been made in 0.72 by wawa
Offline
Just for info. Was testing the Xerox Model template and I can confirm that it also works for WorkCentre 7132,7328. For WorkCentre 24 just the cartridge status seems to work, but not no of printed pages. Will check the oid for that one.
Last edited by MHI (2009-02-13 20:07:57)
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
Is there anything planned to gather the model of the switches as well ? I know that the switch is just replying with a "number" and that the model needs to be matched against a reference table in the database to figure which model it is. I have this kind of table for around 320 Cisco switch models available, so if you are interested or thought about automatically mapping the model as well, just let me know.
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline