Ad Widget

Collapse

Is it possible to execute script (on server) from an element in a map ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • montmory
    Junior Member
    • Sep 2009
    • 1

    #1

    Is it possible to execute script (on server) from an element in a map ?

    Good afternoon everybody,

    I am new to Zabbix so I may said some mistake I apologised in advance...

    I am working on a "Tender to response" for a fixed price contract for the French Air Traffic Management Agency...
    The context is a specific application running on a 2 cluster nodes (high Availability), which would be survey with HeartBeat.

    This application consist of calculus service (MSAW, APW, STCA, etc..) which take the aircraft flight track in input and verify that the aircraft will be not crash into the ground (MSAW, Minimum Safe Altitude Warning), no penetrate into prohibited zone (APW Aerea Penetration Warning ), and not be in conflict with another plane (STCA, Short Term Conflict Alert). When theses services detect potential problem they raise an alarm (electronic msg) which is displayed on Controller Working Position (the controller display in a Tower for example)

    This calculus services are running into Linux processes with their statuses (Service : RUNNING or STOPPED for exmpale) managed into a specific SNMP MIB hosted in a custom SNMP agent running on each computer of the cluster...
    In the input requirement we have to :
    - monitor CPU, memory, using curve (I Think Zabbix is OK)
    - monitor specific indicator (Number of MSAW alert for last minute) (I Think Zabbix is OK)
    - I think Zabbix is OK with all "passive" supervision...

    But I have requirement dealing with active supervision (triggered by User Interaction)... and I am searching if it is possible to od that with Zabbix??

    My need is :

    In a Zabbix Map (TBD for the look and feel) 2 icons represents my two cluster's nodes. I click on one and a new (Frame, Window, Screen ???) opened which shows details of the selected node. This new window shows in particular some icons which represent Hardware (CPU, Memory? etc..) and Software (the MSAW, STCA, etc element presented above) element.

    When I click on this element, a RESTART, STOP, SWITCH (to other node), etc command button will be displayed and it is possible to launch a script on the ZABBIX server computer to execute to actions .

    Summary : From a synoptic representation of the supervised system is it possible to launch user triggered action (like script (perl, php ...) or other means ) on the supervised computer which will executed the user action...

    I know that Zabbix ,and Nagios and other are used mainly for automatic supervision and raise mail alarm and can execute automatic script (triggered by Event OK but by user Event ?).

    I see page 184 of the 1.6 Zabbix manual, that it seems possible to execute command "manually from Zabbix front end" and on the same page "IPMI scripts, can be executed manually from ZABBIX GUI".

    I see also page 257 that it is possible to launch an URL "when user clicks on the screen element".
    If in the URL I put "//www.myserver.myscriptcommand.php" perhaps I could launch a command on the server.. It is my question ...

    Excuse me perhaps I am a bit long

    Any helps is appreciate

    Thank you
Working...