Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-1982

Call to undefined function application_update

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • None

    Description

      Poller fails if host has vmware or powerdns apps. Function named application_update instead for the correct one, update_application().

      [code]

              1. Module Start: applications #####

      o Applications apache .mysql .vmwaretools .PHP Fatal error: Call to undefined function application_update() in /opt/observium/includes/polling/applications/vmwaretools.inc.php on line 38
      [root@localhost observium]# cat /opt/observium/includes/polling/applications/vmwaretools.inc.php^C
      [root@localhost observium]# php -l /opt/observium/includes/polling/applications/vmwaretools.inc.php
      No syntax errors detected in /opt/observium/includes/polling/applications/vmwaretools.inc.php
      [root@localhost observium]# vi /opt/observium/includes/polling/applications/vmwaretools.inc.php
      [root@localhost observium]# cd includes/
      [root@localhost includes]# grep -r application_update *
      polling/applications/powerdns.inc.php: application_update($app_id, $data);
      polling/applications/vmwaretools.inc.php: application_update($app_id, $values);
      [/code]

      Attachments

        Activity

          [OBS-1982] Call to undefined function application_update

          Tnx, fixed in r8051.

          landy Mike Stupalov added a comment - Tnx, fixed in r8051.

          People

            landy Mike Stupalov
            kentbjoh Kent Johannessen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: