Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable automap #3

centreon opened this issue May 5, 2015 · 2 comments


None yet
3 participants
Copy link

commented May 5, 2015

Eric Cocquard write :

I want use automap in Nagvis but I have this message : "The requested feature getProgramStart is not provided by the backend (Backend-ID: centreonbroker_1, Backend-Type: centreonbroker). The requested view may not be available using this backend."


This comment has been minimized.

Copy link
Collaborator Author

commented May 5, 2015

Thomas Valenta respond :


there is workaround (I found it on internet at []

If you use the centreon-broker basically you have to add these lines to the GlobalBackendcentreonbroker.php which is provided as backend code for nagvis:

Public function getProgramStart() {
Return -1;

After you save the changes the error shouldn't appear anymore.
Should work with any other backend for nagviz (modifying corresponding backend .php file)

Best regards


@leoncx leoncx added the bug label Sep 3, 2015

@leoncx leoncx added this to the 1.1.0 milestone Sep 3, 2015


This comment has been minimized.

Copy link

commented Feb 1, 2017

I am using Centreon 2.7.8 with and installed nagvis which is module for centreon. nagvis version 1.8.5
I followed your guide but still I'm getting same error.

Here I'm also little bit confuse cause there are same parameters are available as below in file, So have I to remove those?

public function getProgramStart() {
    $QUERYHANDLE = $this->mysqlQuery('SELECT UNIX_TIMESTAMP(program_start_time) AS program_start '
                                    .'FROM '.$this->dbPrefix.'programstatus WHERE instance_id='.$this->dbInstanceId);
    $data = mysql_fetch_array($QUERYHANDLE);
        return $data[0];
        return -1;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.