Go to All Forums

MongoDB plugin error

Hi I am getting error in mongodb plugin


/bin/sh: 1: /opt/site24x7/monagent/plugins//mongod/mongod.py: not found

 

Even though file exists

Like (2) Reply
Replies (3)

Hi Guest,

Sorry for the disruption caused.

We need some clarification to address the mongod.py issue. 

1. Can you execute the mongod.py manually and check the output?

2. In case the plugin has an error, and if the agent executes the plugin with an error for the next consecutive 12 polls, then the mongod.py will be moved to the ignored list. Please refer to the below k-base. 

https://support.site24x7.com/portal/en/kb/articles/reregister-a-plugin

Hence, to solve the issue, please ensure that plugin doesn't contain errors and perform reregistering the mongod.py as per the above k-base. 

For further queries, please post in this thread. 

Regards,

Muralikrishnan

Product Manager

Site24x7

Like (0) Reply

Hi still having same issue
mongod file execute success fully

{
"connections_available": 50747,
"connections_current": 453,
"heartbeat_required": "true",
"memory_resident": 3919,
"memory_virtual": 6040,
"plugin_version": "1",
"units": {
"heap_usage": "MB",
"memory_mapped": "MB",
"memory_resident": "MB",
"memory_virtual": "MB"
},
"version": "4.4.4"
}

 

But in console i get this error

error logs

Like (0) Reply

Hi,

Can you please reload the error image, as we are not able to see the error log. 

Site24x7 Agents will execute the plugin using its full path name like:  /opt/site24x7/monagent/plugin/mongod/mongod.py

Can you please confirm if you get the output for that command.

 

Thanks

Anita

Like (0) Reply

Was this post helpful?