Re: [Ganglia-general] ganglia python module for mongodb monitoring and trend analysis

2012-08-03 Thread Aravind
Thanks a ton Mozammil for your inputs
Your suggestion worked like magic.
The main config change i missed was updating the host details in mongodb.py



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] ganglia python module for mongodb monitoring and trend analysis

2012-08-01 Thread Aravind
I have a query on this.
Will placing the plugin not work if i had installed Ganglia through RPM mode?
I have a couple of servers being monitored using Ganglia through G-Web. Now that
i have MongoDB installed on that server (RPM based installation). How should i
make ganglia collect MongoDB's stat and report to me through front end.

Accept my thanks in advance.
Aravind




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] ganglia python module for mongodb monitoring and trend analysis

2012-08-01 Thread Mohd Mozammil khan
You could try out this python based plugin for mongodb.
https://github.com/ganglia/gmond_python_modules/tree/master/mongodb 


Before implementing this plugin, make sure gmond is compiled with python 
support. 


Thanks,
Mozammil



 From: Aravind aravindan@gmail.com
To: ganglia-general@lists.sourceforge.net 
Sent: Wednesday, 1 August 2012 11:54 AM
Subject: Re: [Ganglia-general] ganglia python module for mongodb monitoring 
and trend analysis
 
I have a query on this.
Will placing the plugin not work if i had installed Ganglia through RPM mode?
I have a couple of servers being monitored using Ganglia through G-Web. Now that
i have MongoDB installed on that server (RPM based installation). How should i
make ganglia collect MongoDB's stat and report to me through front end.

Accept my thanks in advance.
Aravind




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] ganglia python module for mongodb monitoring and trend analysis

2012-08-01 Thread Aravind
Thanks Mozammil for your inputs.
But i hope i am clear on my query.
I have installed Ganglia through RPM and not through source code.
Is there a way to make Ganglia understand that it should monitor my mongostat?
As you said python based plugin for mongodb will work only for source code 
built Ganglia.
Thanks,
Aravind


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] ganglia python module for mongodb monitoring and trend analysis

2012-08-01 Thread Mohd Mozammil khan
It should work on both the cases RPM and compiled from source code. Since you 
have installed through RPM, make sure that supports python. If you are able to 
find the file named modpython.conf under configuration directory of gmond then 
it is possibly installed with python support.

Download the mongodb python module and place it as follows.
# Copy the mongodb.conf file to conf.d directory (possibly the place where you 
find modpython.conf). Also check the modpython.conf file to look for the 
include directive and accordingly change the name of mongodb.conf file.
# Look for the params variable which defines the location to put python 
plugin in modpython.conf and paste the mongodb.py file to that location.

Note. You may also have to change the mongodb.py file to reflect to the mongo 
binary and hostname. You mainly have to change below lines for mongo binary and 
host/port.

'server_status' : '~/mongodb-osx-x86_64-1.8.1/bin/mongo --host 
mongodb04.example.com --port 27018 --quiet --eval 
printjson(db.serverStatus())',
    'rs_status':'~/mongodb-osx-x86_64-1.8.1/bin/mongo --host 
mongodb04.example.com --port 27018 --quiet --eval printjson(rs.status())'

I f every thing goes as desired then restart the gmond service. If some thing 
goes wrong run gmond in debug mode and see what is causing the issue.

Thanks,
Mozammil 



 From: Aravind aravindan@gmail.com
To: ganglia-general@lists.sourceforge.net 
Sent: Thursday, 2 August 2012 10:26 AM
Subject: Re: [Ganglia-general] ganglia python module for mongodb
monitoring  and trend analysis
 
Thanks Mozammil for your inputs.
But i hope i am clear on my query.
I have installed Ganglia through RPM and not through source code.
Is there a way to make Ganglia understand that it should monitor my mongostat?
As you said python based plugin for mongodb will work only for source code 
built Ganglia.
Thanks,
Aravind


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] ganglia python module for mongodb monitoring and trend analysis

2012-06-27 Thread Mohd Mozammil khan
Ganglia python plugin for mongodb is available 
at: https://github.com/ganglia/gmond_python_modules/tree/master/mongodb 


Before using this plugin make sure you have compiled gmond with  python 
support. 


Cheers,
Mozammil





 From: Bhupendra Babu bbab...@gmail.com
To: ganglia-general@lists.sourceforge.net 
Sent: Wednesday, 27 June 2012 10:18 AM
Subject: [Ganglia-general] ganglia python module for mongodb monitoring and 
trend analysis
 

I configured ganglia and running ok to collect server status detail.
Now I'm trying to configure python monitoring and trend collection modules for 
mongoDB.
Has anyone configure ganglia python monitoring and stat collections modules ? 
If so please let me know how did you do it.

-- 
Thanks.
Bhupendra B Babu

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general