Archived community.zenoss.org | full text search
Skip navigation
637 Views 0 Replies Latest reply: Nov 10, 2013 9:33 PM by Thiago Fanfoni RSS
Thiago Fanfoni Newbie 1 posts since
Nov 3, 2013
Currently Being Moderated

Nov 10, 2013 9:33 PM

New Fortigate Zenpack

Hi all,

 

Its my first contact with Zenpack development and is not things are not working as I expected.

 

I'm trying to build a new Zenpack for Fortinet devices (gate, manager, analyzer, etc ...) witch will monitor some IMHO some important things and get some infos of snmp like the image below (I didn't filled anything manually):

 

property.png

 

But I'm having some problems like:

 

The uptime is not updating when I open the device page, it updates after 10 minutes (is this normal?)

 

I'm trying to add / remove some info of the overview page, I'm following the documentation and I'm stuck at this page.

 

Whats happening (for now) is that Zenoss is not finding my subclass...

 

Subclass file path:

/opt/zenoss/ZenPacks/ZenPacks.community.Fortinet/ZenPacks/community/Fortinet/Fortigate.py

 

zPythonClass

 

property.png

 

I've restarted the all daemons, removed the device and added again, but I always get this error at zendmd:

 

>>> dmd.Devices.Network.Router.Firewall.Fortinet.moveDevices('/Network/Router/Firewall/Fortinet', 'FW_NCTSP')

2013-11-11 00:22:44 ERROR zen.DeviceClass Unable to import class Zenpacks.community.Fortinet.Fortigate

Traceback (most recent call last):

  File "/opt/zenoss/Products/ZenModel/DeviceClass.py", line 211, in getPythonDeviceClass

    return importClass(cname)

  File "/opt/zenoss/Products/ZenUtils/Utils.py", line 429, in importClass

    raise ex

ImportError: No module named Zenpacks.community.Fortinet.Fortigate

0

 

The Zenoss version is 4.2.4

 

What I'm doing wrong?

 

Thanks in advance and sorry about my English.

 

Cheers,

 

Thiago Ramos Fanfoni

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points