Module: nagvis Branch: master Commit: b8987a0a24b7133aa57e7308be160dcbed086dd7 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=b8987a0a24b7133aa57e7308be160dcbed086dd7
Author: Lars Michelsen <[email protected]> Date: Mon Jun 28 20:08:42 2010 +0200 #318 Fixed automap to map export --- share/server/core/classes/objects/NagVisObject.php | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/share/server/core/classes/objects/NagVisObject.php b/share/server/core/classes/objects/NagVisObject.php index e2d549c..14645c2 100644 --- a/share/server/core/classes/objects/NagVisObject.php +++ b/share/server/core/classes/objects/NagVisObject.php @@ -463,6 +463,7 @@ class NagVisObject { */ public function parseMapCfg($globalOpts = Array()) { $ret = 'define '.$this->type." {\n"; + $ret .= 'host_name='.$this->host_name."\n"; foreach($this->getObjectConfiguration(false) AS $key => $val) { // Only set options which are different to global option if((!isset($globalOpts[$key]) || $globalOpts[$key] != $val) && $val != '') { ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
