Automation agent in status "no processes" and no log. MMS

511 views
Skip to first unread message

Camilo Lopez

unread,
Oct 10, 2014, 8:37:27 PM10/10/14
to mongod...@googlegroups.com
Hi,

I'm trying to monitor a Google Compute instance with Debian 3.2.57-3+deb7u2. I'm following the Ubuntu instructions. I already made it work on my local machine (OS X), but the agent for the linux machine is not reporting anything, nor logging anything, so I don't know how to proceed.


Stephen Steneker

unread,
Oct 11, 2014, 2:51:17 AM10/11/14
to mongod...@googlegroups.com
On Saturday, 11 October 2014 11:37:27 UTC+11, Camilo Lopez wrote:
I'm trying to monitor a Google Compute instance with Debian 3.2.57-3+deb7u2. I'm following the Ubuntu instructions. I already made it work on my local machine (OS X), but the agent for the linux machine is not reporting anything, nor logging anything, so I don't know how to proceed.

Hi Camilo,

Can you provide a link to your MMS group so a MongoDB team member can review?

Thanks,
Stephen

Camilo Lopez

unread,
Oct 11, 2014, 7:01:13 AM10/11/14
to mongod...@googlegroups.com
Mi group name is adereso_mongodb.

Camilo Lopez

unread,
Oct 12, 2014, 4:31:36 PM10/12/14
to mongod...@googlegroups.com
Fixed the problem, I just had to open the port 27000 on my remote machine.

Camilo Lopez

unread,
Oct 12, 2014, 5:52:49 PM10/12/14
to mongod...@googlegroups.com
I was wrong, still not working properly.

Detailed steps. Instad of ubuntu instructions I followed the generic linux steps. With that I got logging on the Automation Agent. After settings the right folder permissions I was able to get the following log message:

I think it should say "All 2 Mongo processes are in goal state", but it says 1, and the monitoring and backup agents are not launched, no log either.
After that I tried again with Ubuntu steps using mongodb-mms-automation-agent-manager_1.1.1.637-1_amd64.deb, but again, no logging at all, even for the Automation Agent.
I run:
sudo start mongodb-mms-automation-agent

But doing htop doesn't show any processes with "mms" on it.

Any ideas? This is very frustrating.

Camilo Lopez

unread,
Oct 12, 2014, 6:41:05 PM10/12/14
to mongod...@googlegroups.com
Think I got fixed everything now.

Moved again to the "generic linux" installation. I discovered the tab "Server View" and there I enabled the Monitoring Agent!

After that I got the following error:

Error checking if mongodb-mms-monitoring-agent is piped to /var/log/mongodb-mms-automation/monitoring-agent.log : <Monitoring Agent Manager> [22:35:39.504] Error checking logfile for mongodb-mms-monitoring-agent with pid=18102 : output = /bin/bash: lsof: command not found

It seems that lsof is not installed by default on Google Compute VM instances. Fixed with sudo apt-get install lsof.

Reply all
Reply to author
Forward
0 new messages