You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by ruslan usifov <ru...@gmail.com> on 2011/01/08 22:22:17 UTC
monitoring with Zabbix
Hello
Does any bode monitor cassandra with zabbix(http://www.zabbix.com/), please
if it possible share you solutions(monitored parameters(xml) and monitor
scripts)
Thanks
Re: monitoring with Zabbix
Posted by "B. Todd Burruss" <bb...@real.com>.
we use zabbix. we run the agent on our linux boxes and also start
zapcat using the class that follows. essentially you go into the zabbix
console and setup "hosts" for the zapcat port, and "hosts" for the
zabbix agent. then setup items for the "zapcat host" that are JMX
metrics. info on zapcat can be found here,
http://www.kjkoster.org/zapcat/Zapcat_JMX_Zabbix_Bridge.html.
we are also working on a "push" model because as someone else mentioned,
zabbix will open a connection to the cassandra node for *every* JMX
metric. with push we can send a blob of data in one connection.
public class CassandraDaemonWithZapcat extends CassandraDaemon {
private static Agent zcAgent;
private static void startZapcat() {
zcAgent = new ZabbixAgent();
}
private static void stopZapcat() {
if (null != zcAgent) {
zcAgent.stop();
}
}
/**
* Main entry point. starts Zapcat then calls
* {@link CassandraDaemon#main(String[])}.
*
* @param args
* command line args
*/
public static void main(String[] args) {
startZapcat();
try {
CassandraDaemon.main(args);
}
finally {
stopZapcat();
}
}
}
On 01/10/2011 08:40 AM, Jedd Rashbrooke wrote:
> Hi Daniel,
>
> A recent web search found your earlier message, but I
> had a few (potentially dumb) questions - so this is very
> good timing! :)
>
> When you say start with Cassandra - my first dumb
> question is how you actually do this. Are you using
> packaged versions or tarball installs of Cassandra?
>
> With the output - I've only ever used zabbix_agent.conf
> entries that deal with one line of output at a time - do
> you parse that output that same way, making ten
> separate calls to the web server, or is there some
> fancy way of pulling all that information into Zabbix
> in one go?
>
> jedd.
Re: monitoring with Zabbix
Posted by Jedd Rashbrooke <je...@imagini.net>.
Hi Daniel,
A recent web search found your earlier message, but I
had a few (potentially dumb) questions - so this is very
good timing! :)
When you say start with Cassandra - my first dumb
question is how you actually do this. Are you using
packaged versions or tarball installs of Cassandra?
With the output - I've only ever used zabbix_agent.conf
entries that deal with one line of output at a time - do
you parse that output that same way, making ten
separate calls to the web server, or is there some
fancy way of pulling all that information into Zabbix
in one go?
jedd.
Re: monitoring with Zabbix
Posted by Daniel Doubleday <da...@gmx.net>.
We use zabbix and cassandra like so:
http://www.mail-archive.com/user@cassandra.apache.org/msg08100.html
Daniel Doubleday,
smeet.com
On Jan 9, 2011, at 1:09 AM, ruslan usifov wrote:
> Zapcat is a simple bridge between JMX and zabbix protocol, and it imho doesn't allow collect info from other system metrics (like ops, bps, cpu usage, and so on), only jmx, for this purposes we must start second zabbixagent, also i cant understand how integrate zapcat with cassandra
>
> 2011/1/9 István <le...@gmail.com>
> What about JMX?
>
> http://www.kjkoster.org/zapcat/Zapcat_JMX_Zabbix_Bridge.html
>
> Regards,
> Istvan
>
>
> On Sat, Jan 8, 2011 at 9:22 PM, ruslan usifov <ru...@gmail.com> wrote:
> Hello
>
> Does any bode monitor cassandra with zabbix(http://www.zabbix.com/), please if it possible share you solutions(monitored parameters(xml) and monitor scripts)
>
> Thanks
>
>
>
> --
> the sun shines for all
>
> http://wperf.com/
>
>
>
Re: monitoring with Zabbix
Posted by ruslan usifov <ru...@gmail.com>.
Zapcat is a simple bridge between JMX and zabbix protocol, and it imho
doesn't allow collect info from other system metrics (like ops, bps, cpu
usage, and so on), only jmx, for this purposes we must start second
zabbixagent, also i cant understand how integrate zapcat with cassandra
2011/1/9 István <le...@gmail.com>
> What about JMX?
>
> http://www.kjkoster.org/zapcat/Zapcat_JMX_Zabbix_Bridge.html
>
> <http://www.kjkoster.org/zapcat/Zapcat_JMX_Zabbix_Bridge.html>Regards,
> Istvan
>
>
> On Sat, Jan 8, 2011 at 9:22 PM, ruslan usifov <ru...@gmail.com>wrote:
>
>> Hello
>>
>> Does any bode monitor cassandra with zabbix(http://www.zabbix.com/),
>> please if it possible share you solutions(monitored parameters(xml) and
>> monitor scripts)
>>
>> Thanks
>>
>
>
>
> --
> the sun shines for all
>
> http://wperf.com/
>
>
>
Re: monitoring with Zabbix
Posted by István <le...@gmail.com>.
What about JMX?
http://www.kjkoster.org/zapcat/Zapcat_JMX_Zabbix_Bridge.html
<http://www.kjkoster.org/zapcat/Zapcat_JMX_Zabbix_Bridge.html>Regards,
Istvan
On Sat, Jan 8, 2011 at 9:22 PM, ruslan usifov <ru...@gmail.com>wrote:
> Hello
>
> Does any bode monitor cassandra with zabbix(http://www.zabbix.com/),
> please if it possible share you solutions(monitored parameters(xml) and
> monitor scripts)
>
> Thanks
>
--
the sun shines for all
http://wperf.com/
Re: monitoring with Zabbix
Posted by Ivan Ho <ih...@evidentsoftware.com>.
Hello Ruslan,
I would encourage you to try Evident Clearstone (
http://www.evidentsoftware.com/download). It monitors Cassandra clusters out
of the box. In addition, support for custom JMX mbeans and alerting are
included.
Ivan
On Jan 8, 2011 4:22 PM, "ruslan usifov" <ru...@gmail.com> wrote:
Hello
Does any bode monitor cassandra with zabbix(http://www.zabbix.com/), please
if it possible share you solutions(monitored parameters(xml) and monitor
scripts)
Thanks