#50 Custom variables

open
nobody
None
5
2012-10-15
2011-06-14
PapuPapu
No

We use custom variables (i.e. _CUSTOMERNAME) to identify the customer...
It will be very nice to support custom variables in the grid...

Discussion

  • HenriWahl
    HenriWahl
    2011-06-14

    Hi,
    could you give a more clear example what exactly the requested feature means? Sorry but I don't get it completely...
    Thanks + regards

     
  • PapuPapu
    PapuPapu
    2011-06-14

    I mean...
    when we look at nagstamon details we can see this columns:
    HOST, SERVICE, STATUS, LAST CHECK, DURATION, ATTEMPT, STATUS INFORMATION

    It would be great if we can choose a custom variable to be displayed as a column.

    I.E:
    define host {
    host_name hostname
    alias This is a host
    address 1.2.3.4
    use template1,template2
    _CUSTOMERNAME CUSTOMER_NAME # This is the customer variable i'd like to see...
    register 1
    }

     
  • HenriWahl
    HenriWahl
    2011-06-14

    OK... and where do the values for extra column come from? You have them in your CGI-generated HTML?