Skip to content

Commit

Permalink
Issue #40
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickpr committed Jul 6, 2020
1 parent 6d466fd commit a26422f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/Trapdirector/TrapsProcess/TrapConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ protected function setupDatabase($trapConfig)

$this->trapsDB = new Database($this->logging,$dbConfig[$dbTrapName],$this->dbPrefix);

$this->logging->log("API Use : ".print_r($this->apiUse,true),INFO );
//TODO enable this again when API queries are all done : $this->logging->log("API Use : ".print_r($this->apiUse,true),INFO );

if ($this->apiUse === true) return; // In case of API use, no IDO is necessary

Expand Down
2 changes: 1 addition & 1 deletion module.info
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: Icinga SNMP trap director
Version: 1.0.4
Version: 1.0.4b
Depends: monitoring
Description: SNMP traps configuration tool for Icinga 2
Receives traps and updates service state based on rules

3 comments on commit a26422f

@lazyfrosch
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uhm you commented the logging, not the return statement 😉 @patrickpr

@patrickpr
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the info !

@lazyfrosch
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 😉

Please sign in to comment.