Skip to content

During discovery, Automation can throw unexpected errors due to null values #4036

Closed

Description

@jdcoats

Cacti 1.2.17 + PHP7.4

These errors are replicated buy the hundreds when discovering. I assume it is one for each timeout?

2021/01/06 10:54:40 - CMDPHP PHP ERROR NOTICE Backtrace: (/poller_automation.php[358]:discoverDevices(), /poller_automation.php[430]:automation_get_dns_from_ip(), /lib/api_automation.php[3412]:CactiErrorHandler())
2021/01/06 10:54:40 - ERROR PHP NOTICE: Trying to access array offset on value of type null in file: /var/www/localhost/htdocs/cacti/lib/api_automation.php on line: 3412

Activity

  1. added
    bugUndesired behaviour
    unverifiedSome days we don't have a clue
    on Jan 6, 2021
  2. TheWitness commented on Jan 6, 2021

    @TheWitness
    Member

    Thanks, we are prepping the release. So, the timing could not be better.

  3. added this to the v1.2.17 milestone on Jan 6, 2021
  4. added a commit that references this issue on Jan 6, 2021
  5. TheWitness commented on Jan 6, 2021

    @TheWitness
    Member

    Fixed. Let us know through separate tickets if you find anything else.

  6. added a commit that references this issue on Jan 6, 2021
  7. TheWitness commented on Jan 6, 2021

    @TheWitness
    Member

    Try again.

  8. changed the title [-]Automation Discovery Trying to access array offset on value of type null[/-] [+]During discovery, Automation can throw unexpected errors due to null values[/+] on Apr 12, 2021
  9. locked and limited conversation to collaborators on Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions