I have try to install the mongo db templates in cacti, I already import the template in cacti with sucess and install the ss_get_by_ssh.php in CACTi_HOME/scripts/ but when I run the php file return always the -1 value.
I think the problem is that php script is trying to run the below command and don't have permissions :
> db._adminCommand({serverStatus:1, repl:2})
{ "errmsg" : "need to login", "ok" : 0 }
Do you any ideia how can add authentication in php script ?
I was too held up in this percona cacti mongo setup. I tried to input authentication in cacti template but no luck its not showing graphs nor output from shell.
On Tuesday, October 16, 2012 6:40:36 PM UTC+5:30, Marco Ferreira wrote:
> Hi,
> I have try to install the mongo db templates in cacti, I already import > the template in cacti with sucess and install the ss_get_by_ssh.php in > CACTi_HOME/scripts/ but when I run the php file return always the -1 value.
> I think the problem is that php script is trying to run the below > command and don't have permissions :
> I have try to install the mongo db templates in cacti, I already import > the template in cacti with sucess and install the ss_get_by_ssh.php in > CACTi_HOME/scripts/ but when I run the php file return always the -1 value.
> I think the problem is that php script is trying to run the below > command and don't have permissions :
On Tue, Oct 16, 2012 at 8:15 PM, Marco Ferreira <met...@gmail.com> wrote:
> So, not have "solution" to use this scripts with auth?
> Regards.
> Terça-feira, 16 de Outubro de 2012 14:10:36 UTC+1, Marco Ferreira escreveu:
>> Hi,
>> I have try to install the mongo db templates in cacti, I already import
>> the template in cacti with sucess and install the ss_get_by_ssh.php in
>> CACTi_HOME/scripts/ but when I run the php file return always the -1 value.
>> I think the problem is that php script is trying to run the below
>> command and don't have permissions :
>> Do you any ideia how can add authentication in php script ?
>> Regards,
>> Marco
>> --
> You received this message because you are subscribed to the Google Groups
> "Percona Discussion" group.
> To post to this group, send email to percona-discussion@googlegroups.com.