VMWare Wizard template bug

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kevev
Posts: 8
Joined: Wed Jan 11, 2012 1:00 pm

VMWare Wizard template bug

Post by kevev »

The Template seems to have a bug in vmware.inc.php

The *.txt files created by the wizard places username and password all on one line. I have made a change that fixes this.

$username=grab_array_var($inargs,'username','');

change to:

$username=grab_array_var($inargs,'username','');
$username=($username."\n");

I am no php coder, so I could not figure out the correct string for newline input from an fputs. So what I did was just re-declare the $username variable with a newline. :D

CentOS 5.7 x86 Nagios XI 2011R1.9
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: VMWare Wizard template bug

Post by lmiltchev »

I thought this was fixed... We will look into it. Thanks for the feedback!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked