Ad Widget

Collapse

New Media GUI - may be a bug or problem with my server!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sarathyme
    Member
    • Mar 2009
    • 58

    #1

    New Media GUI - may be a bug or problem with my server!

    I am using zabbix 1.6.3,
    When i want to edit the severity options i have given for a user, i am seeing the options i have not selected before.

    Steps i did:
    (from Adminstration - > User -> New Media )
    I define Use if severity as Not classified, (attachment 1)

    It is getting properly defined in User – GUI (attachment 2)

    But when I click Edit again, I am seeing the option which I did not choose at all. (attachment 3)

    I looked at the code, popup_media.php, this might be an issue with the way PHP computes exponents and logarithms. (or $ operation on float)

    It does not harming me, but makes little confusion.

    I am not an PHP expert (yet!).
    I tried replacing the
    Code:
    exp(log(2) *$i) with pow(2,$i)
    it works.

    Thanks
    Vijay
    Attached Files
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    this seems to be already fixed in 1.6 branch, revision 7336.


    you can simply checkout popup_media.php and replace the one you have.
    Zabbix 3.0 Network Monitoring book

    Comment

    Working...