Ad Widget

Collapse

Zabbix interface URL parameters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xibbaz
    Member
    Zabbix Certified Specialist
    • Jun 2009
    • 74

    #1

    Zabbix interface URL parameters

    Is there a list somewhere of the supported parameters when accessing Zabbix interface thru URL.

    I have a couple (fullscreen, groupid, show_severity, ...) I'm missing something like "nodeid" to show subnodes also.
    Last edited by xibbaz; 02-06-2010, 16:44.
  • alixen
    Senior Member
    • Apr 2006
    • 474

    #2
    Hi,

    I think that there is nothing about that in the documentation.

    When I need to know what parameters are supported by some URL, I check PHP source. They are described at the beginning of the file.

    For instance, in chart2.php allowed parameters are:
    Code:
    //              VAR                     TYPE    OPTIONAL FLAGS  VALIDATION      EXCEPTION
            $fields=array(
                    'graphid'=>             array(T_ZBX_INT, O_MAND,        P_SYS,  DB_ID,          null),
                    'period'=>              array(T_ZBX_INT, O_OPT,         P_NZERO,        BETWEEN(ZBX_MIN_PERIOD,ZBX_MAX_PERIOD), null),
                    'stime'=>               array(T_ZBX_STR, O_OPT,         P_SYS,          null,           null),
                    'border'=>              array(T_ZBX_INT, O_OPT,         P_NZERO,        IN('0,1'),      null),
                    'width'=>               array(T_ZBX_INT, O_OPT,         P_NZERO,        '{}>0',         null),
                    'height'=>              array(T_ZBX_INT, O_OPT,         P_NZERO,        '{}>0',         null),
            );
    Regards,
    Alixen
    http://www.alixen.fr/zabbix.html

    Comment

    Working...