Re: [Nagios-users] graphing trends across hosts or services instead of a timeseries
On Wed, Mar 4, 2009 at 3:33 PM, Marco Tiradomarco.tir...@gmail.com wrote: PNP4Nagios has a feature called pages that allows you to show multiple services for the same host or multiple hosts for the same service. It should be easy to use since it supports regular expressions. Check the following link http://www.pnp4nagios.org/pnp/pages I can't seem to get the pages feature of pnp4nagios working correctly to get an assembly of charts. I just tried creating a page by modifying the canned file web_traffic.cfg-sample in the directory /nagios/etc/pnp/pages/ like so: filename: cpu_temperatures.cfg # define page { use_regex 1 page_name Compute Nodes Current CPU Core Temperatures } define graph { host_name star177,star178,star179 service_descCpuCoreTemperature } I still do not see the webpage. Where should I be looking for in the web-interface? I already have a corresponding entry in the services.cfg file: define service{ use rpn_intermediate_service hostgroup_name 64bit-compute-nodes service_description CpuCoreTemperature check_command check_nrpe!check_cpu_temp use srv-pnp-rpn-intermediate } The permissions and ownership of cpu_temperatures.cfg also seems correct. What else could I be messing up? Any advice? -- Rahul -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] graphing trends across hosts or services instead of a timeseries
Hello: PNP4Nagios has a feature called pages that allows you to show multiple services for the same host or multiple hosts for the same service. It should be easy to use since it supports regular expressions. Check the following link http://www.pnp4nagios.org/pnp/pages //Marco On Tue, Feb 24, 2009 at 10:34 AM, Rahul Nabar rpna...@gmail.com wrote: On Tue, Feb 24, 2009 at 3:17 AM, Jim Avery j...@jimavery.me.uk wrote: I had to install some dependencies, I forget which ones, but I'm pretty sure librrds-perl was one of them. The web interface for drraw is fairly intuitive, except it took me a few minutes to notice that in order to save a graph, you need to specify a Graph Title in the Graph Options section! hth, Jim Awesome! That will be a lot of help I am sure. Thank you again, Jim. I appreciate the help! -- Rahul -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] graphing trends across hosts or services instead of a timeseries
2009/2/23 Rahul Nabar rpna...@gmail.com: Thanks for the pointer. I just looked up ddraw and it does look promising. Do you think you can share some of your ddraw configs with me? Or maybe if you had any other notes. No problem. Note that I'm running Ubuntu 8.04 LTS Server and have installed Nagios and PNP as far as possible according to the online instructions (nothing fancy). I installed drraw.cgi and drraw.conf under /var/www/cgi-bin/ . Not sure if that's ideal but it works for me. Most of drraw.conf stays as is as far as I remember, except the following: # The Test area /var/www/drraw/data is just for my playpen. The Live area /usr/local/nagios/share/perfdata is where the PNP .rrd files are. # drraw will look recursively under these directories. %datadirs = ('/var/www/drraw/data' = '[Test] ', '/usr/local/nagios/share/perfdata' = '[Live] ', ); # make sure these exist and are writeable by the apache (www-data in my case) user. $saved_dir = '/usr/local/drraw/saved'; $tmp_dir = '/usr/local/drraw/tmp'; # If you don't care for authentication, set the following to 2. # I've set this to 2 while I get it working, will tighten it down later. %users = ( 'guest' = 2 ); # This is to enable a patch I found in the drraw mailing list. I couldn't get it to work so disable it for now. # pnp4nagios XML $use_pnp4nagios_xml = 0; I also edited /etc/apache2/sites-available/default to enable the cgi-bin directory for cgi execution: ScriptAlias /cgi-bin/ /var/www/cgi-bin/ Directory /var/www/cgi-bin AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all /Directory I had to install some dependencies, I forget which ones, but I'm pretty sure librrds-perl was one of them. The web interface for drraw is fairly intuitive, except it took me a few minutes to notice that in order to save a graph, you need to specify a Graph Title in the Graph Options section! hth, Jim -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] graphing trends across hosts or services instead of a timeseries
On Tue, Feb 24, 2009 at 3:17 AM, Jim Avery j...@jimavery.me.uk wrote: I had to install some dependencies, I forget which ones, but I'm pretty sure librrds-perl was one of them. The web interface for drraw is fairly intuitive, except it took me a few minutes to notice that in order to save a graph, you need to specify a Graph Title in the Graph Options section! hth, Jim Awesome! That will be a lot of help I am sure. Thank you again, Jim. I appreciate the help! -- Rahul -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] graphing trends across hosts or services instead of a timeseries
2009/2/12 Rahul Nabar rpna...@gmail.com: One other thing that I haven't figured out yet with PNP-NAGIOS is this: How does one get trending across services or hosts? i.e. It is easy to see time series graphs of pingtimes, load averages disk usages etc. but sometimes what seems more relevant is a chart across services for a given snapshot in time. Say, to identify a hot node, or a node with unusually high load averages. Is there a way to do this? Or am I tinkering with the wrong tool! I don't think you can do this within PNP itself, but I've recently been using drraw (http://web.taranis.org/drraw/) to draw individual graphs of metrics from multiple PNP .rrd databases. It seems to work very nicely, and has a handy dashboard feature so you can group a few graphs on the same page too. There are some patches for drraw to make use of the PNP templates but I confess I haven't managed to get those working yet (not sure I need to either). Cheers, Jim -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] graphing trends across hosts or services instead of a timeseries
One other thing that I haven't figured out yet with PNP-NAGIOS is this: How does one get trending across services or hosts? i.e. It is easy to see time series graphs of pingtimes, load averages disk usages etc. but sometimes what seems more relevant is a chart across services for a given snapshot in time. Say, to identify a hot node, or a node with unusually high load averages. Is there a way to do this? Or am I tinkering with the wrong tool! -- Rahul -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] graphing trends across hosts or services instead of a timeseries
Nagios itself does have some trending tools in version 3, though they are not very comprehensive. Are you looking for something beyond their scope? -lee On Thu, Feb 12, 2009 at 3:09 AM, Rahul Nabar rpna...@gmail.com wrote: One other thing that I haven't figured out yet with PNP-NAGIOS is this: How does one get trending across services or hosts? i.e. It is easy to see time series graphs of pingtimes, load averages disk usages etc. but sometimes what seems more relevant is a chart across services for a given snapshot in time. Say, to identify a hot node, or a node with unusually high load averages. Is there a way to do this? Or am I tinkering with the wrong tool! -- Rahul -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] graphing trends across hosts or services instead of a timeseries
On Thu, Feb 12, 2009 at 11:46 AM, Lee Azzarello l...@dropio.com wrote: Nagios itself does have some trending tools in version 3, though they are not very comprehensive. Are you looking for something beyond their scope? Thanks Lee. I am not aware of the scope of the inbuilt trending tools. Maybe that's a good place to start. How does one use those? Say, how can one obtain a graph of ping times across all hosts in a suitable format? That might make it easy to identify problem machines. -- Rahul -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] graphing trends across hosts or services instead of a timeseries
In Nagios version 3, you click on Reporting-Trends and use the menus to generate a picture. The limitation is you can only see one picture at a time for a particular host or service. So you could not, for example have an automatically generated dashboard of trends for a particular host or service group. Though there's nothing stopping you from taking screenshots and making your own. -lee On Thu, Feb 12, 2009 at 2:43 PM, Rahul Nabar rpna...@gmail.com wrote: On Thu, Feb 12, 2009 at 11:46 AM, Lee Azzarello l...@dropio.com wrote: Nagios itself does have some trending tools in version 3, though they are not very comprehensive. Are you looking for something beyond their scope? Thanks Lee. I am not aware of the scope of the inbuilt trending tools. Maybe that's a good place to start. How does one use those? Say, how can one obtain a graph of ping times across all hosts in a suitable format? That might make it easy to identify problem machines. -- Rahul -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] graphing trends across hosts or services instead of a timeseries
On Thu, Feb 12, 2009 at 3:06 PM, Lee Azzarello l...@dropio.com wrote: In Nagios version 3, you click on Reporting-Trends and use the menus to generate a picture. The limitation is you can only see one picture at a time for a particular host or service. So you could not, for example have an automatically generated dashboard of trends for a particular host or service group. Though there's nothing stopping you from taking screenshots and making your own. The images are generated by the Nagios CGIs and have URLs that are pretty easy to generate programatically :), so you actually could do a custom web-dashboard that calls the nagios CGIs to create host and service state trends, but they would be just state trends not performance data trends. For performance data trends across hosts or services you have to integrate a graphing package and then use the data sources from that package to do what you are after. I think on and off about doing just this kind of a report builder GUI for PNP, would not be too difficult, just need that ever rare commodity 'free time' to do it :). - Max -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] graphing trends across hosts or services instead of a timeseries
On Thu, Feb 12, 2009 at 2:06 PM, Lee Azzarello l...@dropio.com wrote: In Nagios version 3, you click on Reporting-Trends and use the menus to generate a picture Thanks again Lee! The limitation is you can only see one picture at a time for a particular host or service That is a drawback. The whole idea is to get a picture across *many* hosts or services. For a given host my PNP already generates better plots than the inbuilt Nagios trending suite. PNP does seem very geared for this. Just not sure how to make it plot a certain time slice instead of a historic time series! -- Rahul -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null