Ad Widget

Collapse

Unable to edit Discovery Rule 5.2?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • StealthJoe
    Member
    • Mar 2019
    • 44

    #1

    Unable to edit Discovery Rule 5.2?

    When I go to Template/Host > Discovery rules > Discovery Rule name (page where you can configure the rule) my server always times out. It's strange and didn't always do this. There is an 504 Gateway Timeout error in the logs but that's all I can see in Zabbix/Apache logs.

    The URL that doesn't load is like this: https://serverIP/zabbix//host_discov...&itemid=632126 whereas 'form=create' loads just fine.

    Has anyone else had this problem? Does anyone know how I can further troubleshoot it?
  • StealthJoe
    Member
    • Mar 2019
    • 44

    #2
    Just wanted to bump this if anyone has any ideas. I'm still facing this issue. I increased the timeout for PHP and I could get it to load for some but not all of them. I don't see any errors in the Zabbix, PHP or HTTP logs.

    What's strange is I can't even export the template that has this discovery rule at this point. Even through the API once I try to "selectOverrides" it hangs forever.


    EDIT: Alright I finally fixed it, found an error in the HTTP logs that basically said it was timing out on the file "CDiscoveryRule.php". There was a random & in the file in front of one of the variables but even after removing it was still erroring our somewhere else. I replaced this file with a fresh one and now it works (although from 5.2.7 even though I'm using 5.2.0), seems to be fine so far. No idea how this file got corrupted, I've never messed with it.
    Last edited by StealthJoe; 05-01-2022, 21:24.

    Comment

    Working...