Login

Home Forum
Welcome, Guest
Please Login or Register.    Lost Password?

[solved] Duplicate definition in Nagios with domai
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: [solved] Duplicate definition in Nagios with domai
#885
Re:Duplicate definition in Nagios with domains 1 Year, 2 Months ago Karma: 4
Thank you - we are still testing 3.0.3 and I have now applied the patch.

I moved the config_id from Line 979 to 983 - so there it should be more applicable:

Code:


  case "tbl_service":
    $strConfigName = $this->myDBClass->getFieldData("SELECT `config_name` FROM `".$strTableName."` WHERE `id`=".$arrData[$i]['id']);
    $setTemplate   = "services.tpl.dat";
    $this->getConfigData("serviceconfig",$strBaseDir);
    $this->getConfigData("servicebackup",$strBackupDir);
    $strSQLData    = "SELECT * FROM `".$strTableName."` WHERE `config_name`='$strConfigName' AND `config_id`=".$this->intDomainId." ORDER BY `service_description`";
    break;

martin
NagiosQL Founder
Posts: 303
graph
User Offline Click here to see the profile of this user
The topic has been locked.
 
Go to topPage: 12