-
Notifications
You must be signed in to change notification settings - Fork 23
How to extend wiremaps
Wiremaps come with a limited number of equipments supported. You can extend this list easily.
If Wiremaps does not know how to handle your equipments, almost no information will be gathered. To add support for additional equipments, this is really easy. Look at collector/5510.py and modify it to suit your need:
-
handleEquipment
will tell what equipment is handled by the class. The OID are the one inSNMPv2-MIB::sysObjectID.0
. -
collectData
is called to actually collect data. You should just call one of the existing collectors.
Don't forget to instantiate your new class. Otherwise, it won't be found.
Feel free to contact me if you need to add support for some equipments.
Each equipment is illustrated with an image to let the user know what kind of equipment this is. If there is a large question mark, this means that there is no image available for this equipment. Use the existing illustration in SVG format to build the illustration for this equipment and put the result in wiremaps/web/images
. Use make
to build the PNG.
Then, use the following command:
cd wiremaps/web/images
ln -s <oid>.png <equipment>.png