Re: [percona-group] Re: ss_get_by_ssh.php - MongoDB Not upload info to cacti

191 views
Skip to first unread message

Puspharaj Selvaraj

unread,
Oct 16, 2012, 11:28:48 AM10/16/12
to percona-d...@googlegroups.com
I believe there must be a workaround for that

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 : 

> db._adminCommand({serverStatus:1, repl:2})
{ "errmsg" : "need to login", "ok" : 0 }

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-d...@googlegroups.com.
 
 

Reply all
Reply to author
Forward
0 new messages