Re: [CentOS] Cacti/snmp question
From: Whit Blauvelt w...@transpect.com the PNP crew enhances their documentation with some working examples, or I learn German I was able to make some plugins without too much problems (even discovered perl in the process)... http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT Just copy/paste an existing plugin and adapt it. The main thing to remember is the plugin returns on STDOUT: SERVICE STATUS: Information text|'label1'=value[UOM];[warn];[crit];[min];[max] 'label2'=value[UOM];[warn];[crit];[min];[max] ... Examples: $ check_memory MEMORY OK - RAM Used: 37% (1127MB/3041MB), SWAP Used: 0% (0MB/2932MB)|RAM=1127MB;2736;2888;0;3041 SWAP=0MB;2902;2932;0;2932 $ check_netstat NETSTAT OK - [LOC] = 24/0/0/8, [LAN] = 15/0/1/44, [WAN] = 0/0/0/0 (ES/SY/FW/TW)|LOC_ES=24;250;1000;0 LOC_SY=0;250;500;0 LOC_FW=0;150;300;0 LOC_TW=8;1500;3000;0 LAN_ES=15;250;1000;0 LAN_SY=0;250;500;0 LAN_FW=1;150;300;0 LAN_TW=44;1500;3000;0 WAN_ES=0;250;1000;0 WAN_SY=0;250;500;0 WAN_FW=0;150;300;0 WAN_TW=0;1500;3000;0 etc... Then PNP will automaticaly plot these values... but yes, if you have n values, you will get n graphs... someone writes a Nagios plugin that captures per-core CPU load /proc/stat gives cpuX user_ticks nice_ticks system_ticks idle_ticks uptime iowait irq soft_irq What I did for disk perfs by example is save the stats plus a timestamp in a file, then (new_stats-old_stats)/(new_ts-old_ts)... But, in some tricky cases (like /proc/net/dev), watch out for value rollovers and bumps. JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
On Wed, Jun 16, 2010 at 02:28:51AM -0700, John Doe wrote: I was able to make some plugins without too much problems (even discovered perl in the process)... Agreed, it's easy enough to write Nagios plugins. I've done that too. Then PNP will automaticaly plot these values... but yes, if you have n values, you will get n graphs... someone writes a Nagios plugin that captures per-core CPU load /proc/stat gives cpuX user_ticks nice_ticks system_ticks idle_ticks uptime iowait irq soft_irq There's a python script claimed to be able to turn that to percentage here: http://ubuntuforums.org/showthread.php?t=148781 - so adapting that to a Nagios plugin (which python's also fine for) could do it. So PNP is just automagical? Aside from graphing each core separate, rather than a combined graph, it would do what I'm looking for without much special configuration? I got no sense of how to tie PNP in from its sparse docs. In separate news, what I've learned is that Cacti _used to be able_ to do per-core CPU graphing, but the latest versions aren't comptible with the existing XML files for it - and no solution is on offer in their forum thread on this. Monin has nice out-of-the-box graphs on other stuff, but not CPU per-core load. Ganglia has per-core CPU graphing. There are RPMs in the Fedora repository, but at least for x64 there are a bunch of unmet dependencies (for CentOS anyhow). There are also older RPMs on Ganglia's own site. But the per-core CPU stuff is more recent, so I'll be building it from the tar to test it. Thanks, Whit ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
Whit Blauvelt wrote: On Wed, Jun 16, 2010 at 02:28:51AM -0700, John Doe wrote: I was able to make some plugins without too much problems (even discovered perl in the process)... Agreed, it's easy enough to write Nagios plugins. I've done that too. Then PNP will automaticaly plot these values... but yes, if you have n values, you will get n graphs... someone writes a Nagios plugin that captures per-core CPU load /proc/stat gives cpuX user_ticks nice_ticks system_ticks idle_ticks uptime iowait irq soft_irq There's a python script claimed to be able to turn that to percentage here: http://ubuntuforums.org/showthread.php?t=148781 - so adapting that to a Nagios plugin (which python's also fine for) could do it. So PNP is just automagical? Aside from graphing each core separate, rather than a combined graph, it would do what I'm looking for without much special configuration? I got no sense of how to tie PNP in from its sparse docs. In separate news, what I've learned is that Cacti _used to be able_ to do per-core CPU graphing, but the latest versions aren't comptible with the existing XML files for it - and no solution is on offer in their forum thread on this. Monin has nice out-of-the-box graphs on other stuff, but not CPU per-core load. Ganglia has per-core CPU graphing. There are RPMs in the Fedora repository, but at least for x64 there are a bunch of unmet dependencies (for CentOS anyhow). There are also older RPMs on Ganglia's own site. But the per-core CPU stuff is more recent, so I'll be building it from the tar to test it. If have firewalling to protect from security issues, why not just run an older version of cacti? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
On Wed, Jun 16, 2010 at 08:01:26AM -0500, Les Mikesell wrote: If have firewalling to protect from security issues, why not just run an older version of cacti? Sensible suggestion. One, it's not obvious where to find an older version. Two, hours of attempting to get cacti to work have led me to be underimpressed with the whole project. Three, we have good external firewalling, and are a small enough shop not to worry about malicious employees. But if an employee manages to get a virus on their Windows box due to some new drive by zero day exploit, some viruses probe the LAN with requests to check if known-vulerable web apps exist there (ahem, this has happened to us, and I've seen the probes). While we could tighten internal firewall rules more, bottom line is running known-insecure web apps on an LAN isn't a brilliant idea, even if I did a few messages back indicate a willingness to make that compromise. Whit ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
Two, hours of attempting to get cacti to work have led me to be underimpressed with the whole project. That's odd because other than the usual php version issues I've always considered cacti to be the easiest of the graphing tools to get working - but I haven't tried the most recent versions. Last I looked at Cacti, the hack to get some plugin support didn't work for me and I didn't have the patience to waste time with it, dropped it. Munin never had zooming graphs, and needed a cgi to prevent obscene load in anything other than a trivial environment, dropped it. I have Nagios and PNP and it works well. Since your first reco to me about OpenNMS I have been intrigued, it looks like a very nice project and is very active. Ironically I do almost all my Nagios monitoring via snmp and where I can't normally use snmp, I create extends... If you are willing to hack some ugly-looking xml files that specify the oids and time intervals you can probably make opennms work for you - and you might find its other features (thresholding, notifications, etc.) useful too. Yeah, I also want to take the time to learn this package, it does look very powerful. Whit, if you are starting from scratch, I would second the reco to invest the time in OpenNMS and just learn something solid from day one. jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
There is always ZenOSS. I would definitely take a look at ZenOSS. Very active, very powerful, nice interface, SMNP/SSH/WMI based monitoring, etc. jb -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Joseph L. Casale Sent: Wednesday, June 16, 2010 10:30 AM To: 'CentOS mailing list' Subject: Re: [CentOS] Cacti/snmp question Two, hours of attempting to get cacti to work have led me to be underimpressed with the whole project. That's odd because other than the usual php version issues I've always considered cacti to be the easiest of the graphing tools to get working - but I haven't tried the most recent versions. Last I looked at Cacti, the hack to get some plugin support didn't work for me and I didn't have the patience to waste time with it, dropped it. Munin never had zooming graphs, and needed a cgi to prevent obscene load in anything other than a trivial environment, dropped it. I have Nagios and PNP and it works well. Since your first reco to me about OpenNMS I have been intrigued, it looks like a very nice project and is very active. Ironically I do almost all my Nagios monitoring via snmp and where I can't normally use snmp, I create extends... If you are willing to hack some ugly-looking xml files that specify the oids and time intervals you can probably make opennms work for you - and you might find its other features (thresholding, notifications, etc.) useful too. Yeah, I also want to take the time to learn this package, it does look very powerful. Whit, if you are starting from scratch, I would second the reco to invest the time in OpenNMS and just learn something solid from day one. jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
On 6/16/2010 10:30 AM, Joseph L. Casale wrote: Two, hours of attempting to get cacti to work have led me to be underimpressed with the whole project. That's odd because other than the usual php version issues I've always considered cacti to be the easiest of the graphing tools to get working - but I haven't tried the most recent versions. Last I looked at Cacti, the hack to get some plugin support didn't work for me and I didn't have the patience to waste time with it, dropped it. Perhaps - I meant things that were available via snmp where it is basically a matter of adding the device name/ip and community string. One thing that is particularly nice about cacti is that there is a data export link associated with each graph if you want to do more detailed analysis of the samples with some other program. Opennms has a way to get avg/min/max of values for a specified time span but it is cumbersome if you want fine-grained samples. I have Nagios and PNP and it works well. Since your first reco to me about OpenNMS I have been intrigued, it looks like a very nice project and is very active. Ironically I do almost all my Nagios monitoring via snmp and where I can't normally use snmp, I create extends... If you are willing to hack some ugly-looking xml files that specify the oids and time intervals you can probably make opennms work for you - and you might find its other features (thresholding, notifications, etc.) useful too. Yeah, I also want to take the time to learn this package, it does look very powerful. It would probably be a good time to start since they just released the 1.8 version. It comes up basically working if you just give it IP ranges to discover so you don't have to learn much to get started. You do need decent hardware if you expect to collect a lot of graph data though. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
From: Whit Blauvelt w...@transpect.com Should be useful when I extend our Nagios monitoring to include snmp data. We're using Nagios extensively, but it doesn't seem suited to the sort of load graphing we need for our CPU cores - or if it is it's a side of Nagios I'm unfamiliar with (which could be, it's nicely extensible). You could just use PNP and a custom script... http://docs.pnp4nagios.org/ JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
On Tue, Jun 15, 2010 at 03:31:42AM -0700, John Doe wrote: You could just use PNP and a custom script... http://docs.pnp4nagios.org/ PNP looks like a great project, when it matures. Someday it will be the obvious answer, once someone writes a Nagios plugin that captures per-core CPU load rather than just the generic system load, and the PNP crew enhances their documentation with some working examples, or I learn German so I can dive into the PNP forum (yes, they'll accept questions in English; but the existing answers there mostly aren't.) I'd probably need to write that Nagios plugin myself, since the standard use for Nagios is spotting systems in danger, not checking how work distributes over CPU cores for performance tuning. Looks like it would need to read data from /proc/stat. Once fed into Nagios, PNP could get it into rrd, and from there out to graphs. Or would it make better sense to feed the data directly to rrd and skip the Nagios PNP handoffs? For watching CPU cores in real time, a bunch of ssh sessions to htop gives us a nice visual. The immediate question is how to get that the data graph over time - one where a 16-core system isn't 16 separate graphs, but one summary one. It does look like that's been solved for Cacti, if I can solve my Cacti problem, and ignore its security problems. Thanks, Whit ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
From: Whit Blauvelt Should be useful when I extend our Nagios monitoring to include snmp data. We're using Nagios extensively, but it doesn't seem suited to the sort of load graphing we need for our CPU cores - or if it is it's a side of Nagios I'm unfamiliar with (which could be, it's nicely extensible). Take a look at ganglia - http://ganglia.sourceforge.net/ This may do what you need. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
On 6/15/2010 9:04 AM, Whit Blauvelt wrote: On Tue, Jun 15, 2010 at 03:31:42AM -0700, John Doe wrote: You could just use PNP and a custom script... http://docs.pnp4nagios.org/ PNP looks like a great project, when it matures. Someday it will be the obvious answer, once someone writes a Nagios plugin that captures per-core CPU load rather than just the generic system load, and the PNP crew enhances their documentation with some working examples, or I learn German so I can dive into the PNP forum (yes, they'll accept questions in English; but the existing answers there mostly aren't.) I'd probably need to write that Nagios plugin myself, since the standard use for Nagios is spotting systems in danger, not checking how work distributes over CPU cores for performance tuning. Looks like it would need to read data from /proc/stat. Once fed into Nagios, PNP could get it into rrd, and from there out to graphs. Or would it make better sense to feed the data directly to rrd and skip the Nagios PNP handoffs? For watching CPU cores in real time, a bunch of ssh sessions to htop gives us a nice visual. The immediate question is how to get that the data graph over time - one where a 16-core system isn't 16 separate graphs, but one summary one. It does look like that's been solved for Cacti, if I can solve my Cacti problem, and ignore its security problems. If snmp reports the data you want, you should be able to get either cacti or opennms to graph it. With opennms, if it isn't handled by default, that would involve describing the data collection, storage, and graphing steps in some xml config files. And by the way, opennms can monitor nagios clients - and jmx, wmi and a few other data sources too. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Cacti/snmp question
Hi, Trying to follow the recipe at http://wiki.centos.org/HowTos/Cacti_on_CentOS_4.x Which has a bit of an update for 5.x, but no joy. Anyone know what this from Cacti should suggest? Data Query Debug Information + Running data query [9]. + Found type = '6 '[script query]. + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' + XML file parsed ok. + Executing script for list of indexes '/usr/bin/php -q /var/www/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 2:161:500:1:10:public:::MD5::DES: index' + Executing script query '/usr/bin/php -q /var/www/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 2:161:500:1:10:public:::MD5::DES: query index' + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' The problem is that's returning no information to Cacti to any of the SNMP queries. My whole goal here is to get something working to graph CPU core use on a handful of systems. Or is there a better tool than Cacti (or better documented - hopefully in the form of simple recipe rather than many haphazard - often out-of-date - pages of RTFM)? Cacti admits to serious security flaws, not that this'll go on the public net, but I'd be happier to run something safer nontheless. Thanks, Whit ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
On Mon, Jun 14, 2010 at 4:29 PM, Whit Blauvelt w...@transpect.com wrote: Hi, Trying to follow the recipe at http://wiki.centos.org/HowTos/Cacti_on_CentOS_4.x Which has a bit of an update for 5.x, but no joy. Anyone know what this from Cacti should suggest? Data Query Debug Information + Running data query [9]. + Found type = '6 '[script query]. + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' + XML file parsed ok. + Executing script for list of indexes '/usr/bin/php -q /var/www/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 2:161:500:1:10:public:::MD5::DES: index' + Executing script query '/usr/bin/php -q /var/www/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 2:161:500:1:10:public:::MD5::DES: query index' + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' The problem is that's returning no information to Cacti to any of the SNMP queries. My whole goal here is to get something working to graph CPU core use on a handful of systems. Or is there a better tool than Cacti (or better documented - hopefully in the form of simple recipe rather than many haphazard - often out-of-date - pages of RTFM)? Cacti admits to serious security flaws, not that this'll go on the public net, but I'd be happier to run something safer nontheless. Thanks, Whit I don't have an exact answer for you but you may find this tutorial useful. http://docs.cslabs.clarkson.edu/wiki/Install_Cacti_on_CentOS_5 http://docs.cslabs.clarkson.edu/wiki/Install_Cacti_on_CentOS_5You may find this information useful as well, even if it's specific to the environment it's used in. http://docs.cslabs.clarkson.edu/wiki/Monitor_a_Remote_System_with_Nagios/SNMP http://docs.cslabs.clarkson.edu/wiki/Monitor_a_Remote_System_with_Nagios/SNMP HTH, Matt -- Mathew S. McCarrell Clarkson University '10 mccar...@gmail.com mccar...@clarkson.edu 1-518-314-9214 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
Am 14.06.2010 22:29, schrieb Whit Blauvelt: The problem is that's returning no information to Cacti to any of the SNMP queries. My whole goal here is to get something working to graph CPU core use on a handful of systems. Or is there a better tool than Cacti (or better documented - hopefully in the form of simple recipe rather than many haphazard - often out-of-date - pages of RTFM)? Cacti admits to serious security flaws, not that this'll go on the public net, but I'd be happier to run something safer nontheless. You can try Munin for this. regards, Detlef ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
On 6/14/2010 3:29 PM, Whit Blauvelt wrote: Hi, Trying to follow the recipe at http://wiki.centos.org/HowTos/Cacti_on_CentOS_4.x Which has a bit of an update for 5.x, but no joy. Anyone know what this from Cacti should suggest? Data Query Debug Information + Running data query [9]. + Found type = '6 '[script query]. + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' + XML file parsed ok. + Executing script for list of indexes '/usr/bin/php -q /var/www/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 2:161:500:1:10:public:::MD5::DES: index' + Executing script query '/usr/bin/php -q /var/www/cacti/scripts/ss_host_cpu.php 127.0.0.1 1 2:161:500:1:10:public:::MD5::DES: query index' + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' + Found data query XML file at '/var/www/cacti/resource/script_server/host_cpu.xml' The problem is that's returning no information to Cacti to any of the SNMP queries. My whole goal here is to get something working to graph CPU core use on a handful of systems. Or is there a better tool than Cacti (or better documented - hopefully in the form of simple recipe rather than many haphazard - often out-of-date - pages of RTFM)? Cacti admits to serious security flaws, not that this'll go on the public net, but I'd be happier to run something safer nontheless. I happen to like OpenNMS (http://www.opennms.org) but it is considerably more complicated than cacti to set up. And I think your SNMP server setup is the real problem. Do you get a response with snmpwalk using the same community name? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
On Mon, Jun 14, 2010 at 04:38:17PM -0400, Mathew S. McCarrell wrote: I don't have an exact answer for you but you may find this tutorial useful. http://docs.cslabs.clarkson.edu/wiki/Install_Cacti_on_CentOS_5 Thanks. That summarizes nicely the steps I've taken. It's a bit better put together that the several sets of instructions I was working from. The steps it shows are exactly what I ended up doing though. You may find this information useful as well, even if it's specific to the environment it's used in. http://docs.cslabs.clarkson.edu/wiki/Monitor_a_Remote_System_with_Nagios/SNMP Should be useful when I extend our Nagios monitoring to include snmp data. We're using Nagios extensively, but it doesn't seem suited to the sort of load graphing we need for our CPU cores - or if it is it's a side of Nagios I'm unfamiliar with (which could be, it's nicely extensible). Whit ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
On Mon, Jun 14, 2010 at 5:58 PM, Whit Blauvelt w...@transpect.com wrote: On Mon, Jun 14, 2010 at 04:38:17PM -0400, Mathew S. McCarrell wrote: I don't have an exact answer for you but you may find this tutorial useful. http://docs.cslabs.clarkson.edu/wiki/Install_Cacti_on_CentOS_5 Thanks. That summarizes nicely the steps I've taken. It's a bit better put together that the several sets of instructions I was working from. The steps it shows are exactly what I ended up doing though. You may find this information useful as well, even if it's specific to the environment it's used in. http://docs.cslabs.clarkson.edu/wiki/Monitor_a_Remote_System_with_Nagios/SNMP Should be useful when I extend our Nagios monitoring to include snmp data. We're using Nagios extensively, but it doesn't seem suited to the sort of load graphing we need for our CPU cores - or if it is it's a side of Nagios I'm unfamiliar with (which could be, it's nicely extensible). I guess I was thinking originally that you'd find the snmp configuration more useful than anything really related to Nagios on that page. Nagios itself doesn't do graphing but some addons can utilize Nagios data to produce graphs. If you can successfully use snmpwalk on the remote system, then at least you know snmp isn't the problem and you might not find that article very useful. Matt -- Mathew S. McCarrell Clarkson University '10 mccar...@gmail.com mccar...@clarkson.edu 1-518-314-9214 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
On Mon, Jun 14, 2010 at 10:41:06PM +0200, Detlef Peeters wrote: You can try Munin for this. Thanks. Hadn't look at that. A lively project in current development - always good. Can't find anything about whether it can specifically graph separate CPU core use - guess I'll have to install it and see if that's built in. Nothing in their plugins collection directed at that task, but if it's built in Whit ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
On Mon, Jun 14, 2010 at 03:55:10PM -0500, Les Mikesell wrote: I happen to like OpenNMS (http://www.opennms.org) but it is considerably more complicated than cacti to set up. Thanks. I don't mind complicated if the documentation is clear. Cacti is in that fuzzy area where it's not quite simple, and the docs aren't quite clear (at least not to my learning style). It looks like OpenNMS is mostly in the same space as Nagios, which we're already happy with and have no motivation to replace. Would there be a stripped-down usage to just give us the per-core CPU usage graphs which are what we currently need (and have no notion how to add to Nagios, if it can even be done); does OpenNMS already have a per-core CPU usage graphing capability. And I think your SNMP server setup is the real problem. Do you get a response with snmpwalk using the same community name? Yes, snmpwalk gives a good response. (Although to confuse things, the CentOS man page for snmpwalk is years out of date and doesn't present the current syntax - still, it has a current built-in help page.) Whit ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
OpenNMS Supports Multi Core CPUs http://demo.observernms.org/device/6/health/processors/ -klank On 6/14/2010 3:20 PM, Whit Blauvelt wrote: On Mon, Jun 14, 2010 at 03:55:10PM -0500, Les Mikesell wrote: I happen to like OpenNMS (http://www.opennms.org) but it is considerably more complicated than cacti to set up. Thanks. I don't mind complicated if the documentation is clear. Cacti is in that fuzzy area where it's not quite simple, and the docs aren't quite clear (at least not to my learning style). It looks like OpenNMS is mostly in the same space as Nagios, which we're already happy with and have no motivation to replace. Would there be a stripped-down usage to just give us the per-core CPU usage graphs which are what we currently need (and have no notion how to add to Nagios, if it can even be done); does OpenNMS already have a per-core CPU usage graphing capability. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
Opps. It's http://www.observernms.org/ that supports Multi-Core CPUs. Don't think it will help you out since you are using nagios anyways. As a side note in the past I have searched for snmp polling and graphings of multi core, but was never able to make anything work. Let the list know if you find something that works. -klank On 6/14/2010 3:30 PM, klank wrote: OpenNMS Supports Multi Core CPUs http://demo.observernms.org/device/6/health/processors/ -klank On 6/14/2010 3:20 PM, Whit Blauvelt wrote: On Mon, Jun 14, 2010 at 03:55:10PM -0500, Les Mikesell wrote: I happen to like OpenNMS (http://www.opennms.org) but it is considerably more complicated than cacti to set up. Thanks. I don't mind complicated if the documentation is clear. Cacti is in that fuzzy area where it's not quite simple, and the docs aren't quite clear (at least not to my learning style). It looks like OpenNMS is mostly in the same space as Nagios, which we're already happy with and have no motivation to replace. Would there be a stripped-down usage to just give us the per-core CPU usage graphs which are what we currently need (and have no notion how to add to Nagios, if it can even be done); does OpenNMS already have a per-core CPU usage graphing capability. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
On 6/14/2010 5:20 PM, Whit Blauvelt wrote: On Mon, Jun 14, 2010 at 03:55:10PM -0500, Les Mikesell wrote: I happen to like OpenNMS (http://www.opennms.org) but it is considerably more complicated than cacti to set up. Thanks. I don't mind complicated if the documentation is clear. Cacti is in that fuzzy area where it's not quite simple, and the docs aren't quite clear (at least not to my learning style). It looks like OpenNMS is mostly in the same space as Nagios, which we're already happy with and have no motivation to replace. The big difference is that OpenNMS typically needs no agent or per-host configuration because it works with snmp and auto-discovery of most services - and it handles routers/switches as well has hosts. It's actually not that hard to get started if you want to try it since you can use their yum repository and they just had a new stable release. Would there be a stripped-down usage to just give us the per-core CPU usage graphs which are what we currently need (and have no notion how to add to Nagios, if it can even be done); does OpenNMS already have a per-core CPU usage graphing capability. I'm not sure of the details of how this works. With the default setup I get a single CPU usage graph on linux targets and windows targets may show none or one per CPU. I think it is up to what the snmp agent returns. And I think your SNMP server setup is the real problem. Do you get a response with snmpwalk using the same community name? Yes, snmpwalk gives a good response. (Although to confuse things, the CentOS man page for snmpwalk is years out of date and doesn't present the current syntax - still, it has a current built-in help page.) Does 'good' mean many pages of output if you don't specify an oid? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cacti/snmp question
On Mon, Jun 14, 2010 at 05:46:16PM -0500, Les Mikesell wrote: The big difference is that OpenNMS typically needs no agent or per-host configuration because it works with snmp and auto-discovery of most services - and it handles routers/switches as well has hosts. Getting off my topic, but we're using custom Nagios plugins for stuff that's at levels that can't be read from SNMP - tests that need by their nature to run locally and report back. Probably some way to do that in OpenNMS too? Anyway, that being the standard Nagios way, it fits that need well. I'm not sure of the details of how this works. With the default setup I get a single CPU usage graph on linux targets and windows targets may show none or one per CPU. I think it is up to what the snmp agent returns. I'm assuming the Cacti XML files to get multi-core graphs are SNMP ... if that's right then standard Linux net-SNMP should allow that. Yes, snmpwalk gives a good response. (Although to confuse things, the CentOS man page for snmpwalk is years out of date and doesn't present the current syntax - still, it has a current built-in help page.) Does 'good' mean many pages of output if you don't specify an oid? Yes. Is that a good 'good'? Whit ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos