Ad Widget

Collapse

Adding module problem -Zabbix 5.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hanauama
    Junior Member
    • Sep 2021
    • 3

    #1

    Adding module problem -Zabbix 5.4

    Hi everybody. I'm newbie to the forum and to the Zabbix in general. I have Zabbix server 5.4 installed on Raspberry Pi 3B+. Server works fine, there are no problems with agents and monitoring. Now I'm trying to deepen my skills a little bit and add my custom module. I have read the manual from cover to cover few times. I even try to use example template and code included in the manual. Unfortunately I stucked.
    My problem is I can't add new menu item.
    Zabbix does find my module and enables it correct. It's status is green ENABLED and it is listed correctly in Modules tab.
    Unfortunately even that I can't see new menu item in Reports. It looks like for some reason method:

    (manual page 6 chapter 20. Modules)

    Click image for larger version

Name:	class-method.jpg
Views:	211
Size:	69.1 KB
ID:	430807

    does not take effect.

    Any idea why?

    Not sure if my directories tree in raspbian on Raspberry PI is the same so i tried to modify
    PHP Code:
    class Module extends \Core\CModule 
    to
    PHP Code:
     class Module extends \Include\Classes\Core\Cmodule 
    but it doesn't change anything.
    I attach my server's directories tree - [ATTACH]n430806[/ATTACH] -, but I'm really not sure if the problem is connected to this issue.
Working...