Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139008 - net-analyzer/nagios-grapher-1.6_rc1-r1 - Daemon and CGIs for getting quite pretty charts out of nagios
Summary: net-analyzer/nagios-grapher-1.6_rc1-r1 - Daemon and CGIs for getting quite pr...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 172480
  Show dependency tree
 
Reported: 2006-07-03 07:56 UTC by Christopher Vahldieck
Modified: 2022-02-06 00:52 UTC (History)
13 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nagios-grapher-1.6_rc1-r1.ebuild (New Package) (nagios-grapher-1.6_rc1-r1.ebuild,2.87 KB, text/plain)
2006-07-03 08:27 UTC, Christopher Vahldieck
Details
Required Patch (Makefile.in.patch,703 bytes, text/plain)
2006-07-03 08:28 UTC, Christopher Vahldieck
Details
Required Bugfix (collect2.pl.patch,2.28 KB, text/plain)
2006-07-03 08:30 UTC, Christopher Vahldieck
Details
Required Patch (config.layout.patch,3.25 KB, text/plain)
2006-07-03 08:30 UTC, Christopher Vahldieck
Details
Required Patch (configure.patch,1.93 KB, text/plain)
2006-07-03 08:31 UTC, Christopher Vahldieck
Details
Required Init-Script (nagios-grapher.in,697 bytes, text/plain)
2006-07-03 08:31 UTC, Christopher Vahldieck
Details
Required Patch/Bugfix (ngraph.ncfg.in.patch,3.76 KB, text/plain)
2006-07-03 08:32 UTC, Christopher Vahldieck
Details
Grapher with experimental patches (nagios-grapher_r2.tar.bz2,8.01 KB, application/octet-stream)
2006-11-21 00:57 UTC, mikael lammentausta
Details
nagios-grapher-1.6_rc1-r2.ebuild (nagios-grapher-1.6_rc1-r2.ebuild,3.01 KB, text/plain)
2007-04-09 17:19 UTC, Christopher Vahldieck
Details
nagios-grapher-1.6.1_rc3-r1.ebuild (nagios-grapher-1.6.1_rc3-r1.ebuild,3.02 KB, text/plain)
2007-04-09 17:20 UTC, Christopher Vahldieck
Details
nagios-grapher-1.6.1_rc3-r2.ebuild (nagios-grapher-1.6.1_rc3-r2.ebuild,3.35 KB, text/plain)
2007-04-09 18:21 UTC, Christopher Vahldieck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Vahldieck 2006-07-03 07:56:07 UTC
Hi!

Please find attached nagios-grapher-1.6_rc1-r1.ebuild, an init-script and a couple of patches. The patches are either there to make the sources fit for gentoo or in case of collect2.pl.patch and ngraph.ncfg.patch to fix/workaround a bug i ve recognized.

Nagios Grapher is used for getting pretty and detailed charts from nagios. It s highly configurable and simply the best charting-stuff available for nagios, i suppose.

christopher
Comment 1 Christopher Vahldieck 2006-07-03 08:27:13 UTC
Created attachment 90777 [details]
nagios-grapher-1.6_rc1-r1.ebuild (New Package)
Comment 2 Christopher Vahldieck 2006-07-03 08:28:14 UTC
Created attachment 90778 [details]
Required Patch
Comment 3 Christopher Vahldieck 2006-07-03 08:30:30 UTC
Created attachment 90779 [details]
Required Bugfix
Comment 4 Christopher Vahldieck 2006-07-03 08:30:47 UTC
Created attachment 90780 [details]
Required Patch
Comment 5 Christopher Vahldieck 2006-07-03 08:31:10 UTC
Created attachment 90781 [details]
Required Patch
Comment 6 Christopher Vahldieck 2006-07-03 08:31:42 UTC
Created attachment 90782 [details]
Required Init-Script
Comment 7 Christopher Vahldieck 2006-07-03 08:32:11 UTC
Created attachment 90783 [details]
Required Patch/Bugfix
Comment 8 Christopher Vahldieck 2006-07-11 04:48:27 UTC
Hi!

Just in case there is no one out there willing to maintain the package: I d like to create/test ebuilds for future versions of the package as well. Cause not having to install by hand d save a lot of people a lot of time.

christopher
Comment 9 mikael lammentausta 2006-11-21 00:54:14 UTC
This is a great package and should find it's way into portage.
There's also a hack to the NetWays Grapher by William Leibzon.
See http://www.elan.net/~william/nagios/.

I updated this ebuild to include the patch (and also the nagios-core-2.5 ebuild). Here's the package that includes both this (-r1) and with William's
patches included (-r2).

Note that the William's fork should have a new package name, as the changes are somewhat drastic, but IMO make this package much better. Use with caution.
Comment 10 mikael lammentausta 2006-11-21 00:57:23 UTC
Created attachment 102450 [details]
Grapher with experimental patches
Comment 11 mikael lammentausta 2006-11-21 00:58:04 UTC
Comment on attachment 102450 [details]
Grapher with experimental patches

If you can't get the filename right (as on Firefox, rename this to nagios-grapher_r2.tar.bz2
Comment 12 k 2007-04-03 15:21:39 UTC
(In reply to comment #8)
> Cause not having to install by hand d save a lot of people a lot of time.
> 
> christopher
> 

Hi,
I found a little configuration howto of the nagios-grapher at http://gentoo-wiki.com/HOWTO_Install_Nagios. I'm one of the "could you save me a lot of time" nagios-grapher user. Could you give some information about howto emerge, where to copy (nagios-grapher*.ebuild & patches) to run the emerge? I remember that I did similar experimental testing with Samba, but this looks much more difficult and here is no instruction howto emerge.

Thanks in advance.

k
Comment 13 Christopher Vahldieck 2007-04-09 17:19:57 UTC
Created attachment 115837 [details]
nagios-grapher-1.6_rc1-r2.ebuild
Comment 14 Christopher Vahldieck 2007-04-09 17:20:23 UTC
Created attachment 115838 [details]
nagios-grapher-1.6.1_rc3-r1.ebuild
Comment 15 Christopher Vahldieck 2007-04-09 17:46:39 UTC
(In reply to comment #12)
Hi k,

I've just created some new ebuils and patchsets. The patches are now put together in a patchset which is automatically fetched by the ebuild. So installation should be quite easy:

Create a portage overlay:
# mkdir -p /usr/local/portage/net-analyzer/nagios-grapher
# echo 'PORTDIR_OVERLAY="/usr/local/portage"' >> /etc/make.conf

Fetch the ebuilds:
# cd /usr/local/portage/net-analyzer/nagios-grapher
# wget --output-document=nagios-grapher-1.6_rc1-r2.ebuild http://bugs.gentoo.org/attachment.cgi?id=115837
# wget --output-document=nagios-grapher-1.6.1_rc3-r1.ebuild http://bugs.gentoo.org/attachment.cgi?id=115838

Create ebuild manifests:
# ebuild nagios-grapher-1.6_rc1-r2.ebuild digest
# ebuild nagios-grapher-1.6.1_rc3-r1.ebuild digest

Unmask nagios-grapher:
# echo "net-analyzer/nagios-grapher ~x86" >> /etc/portage/package.keywords

Emerge the lastest version:
# emerge -av nagios-grapher
or the one before the latest:
# emerge -av =net-analyzer/nagios-grapher-1.6_rc1-r2

Don't forget to follow the ebuild's post-install instructions.

Please let me know if this works for you.
Topher
Comment 16 Christopher Vahldieck 2007-04-09 18:14:45 UTC
Yeah well there is a problem with the latest version.

Please use 'nagios-grapher-1.6_rc1-r2.ebuild' instead, until I've fixed it. Sorry.
Comment 17 Christopher Vahldieck 2007-04-09 18:21:26 UTC
Created attachment 115843 [details]
nagios-grapher-1.6.1_rc3-r2.ebuild
Comment 18 Christopher Vahldieck 2007-04-09 18:24:54 UTC
(In reply to comment #16)
> Yeah well there is a problem with the latest version.
> 
> Please use 'nagios-grapher-1.6_rc1-r2.ebuild' instead, until I've fixed it.
> Sorry.
> 

Fixed. 'nagios-grapher-1.6.1_rc3-r2.ebuild' is working correctly.
You will now have to unmask 'dev-perl/Calendar-Simple' as well.
Comment 19 k 2007-04-18 19:32:55 UTC
Hi Christopher,

the first try broke my whole working nagios. Had to unmerge nagios-grapher (1.6.1_rc3-r2) and reemerge nagios (plugins, core, etc).
I don't really know what was the reason - maybe some misconfiguration in the /etc/init.d/nagios (I changed settings in /etc/nagios/nagios.cfg and hadn't set them in init.d), maybe a permission mess up, maybe... Now it is working, but without nagios-grapher.

Funny that it was related and happened exactly when I started testing nagios-grapher. By the way I didn't get it started. The only thing I remeber "Can't open file ()" on "/usr/nagios/contrib/collect2.pl -v". Propably my fault. Will try again this weekend... After a good backup. Thanks for the great step-by-step guide.
Comment 20 Christian Parpart (RETIRED) gentoo-dev 2007-05-10 10:23:01 UTC
hi,

this one looks really promising - as soon as I got our nagios setup up'n'running, I'm about to check out your ebuild above, and will import it into our portage tree (w/ fixes needed / you provide)

Thank you so far,
Christian Parpart.
Comment 21 Christopher Vahldieck 2007-05-10 19:00:54 UTC
Hi!

If you experience any problems, please write me a mail or even better post at forums.gentoo.org and send me a link; or post here if it's concerning the ebuild.

Regards
Topher
Comment 22 Justin Lecher (RETIRED) gentoo-dev 2008-04-19 19:22:08 UTC
I wonder why you are using gcc and you are not respecting the CFLAGS?
Wouldn't it be nicer to use
$(tc_getCC) ${CFLAGS} fifo_write.c -o fifo_write
?
Comment 23 Jim Smilanich 2008-05-21 02:04:27 UTC
This bug is now nearly 2 years old.  When will we see nagios-grapher put in the standard repository?
Comment 24 Tobias Scherbaum (RETIRED) gentoo-dev 2008-08-03 15:20:03 UTC
(In reply to comment #23)
> This bug is now nearly 2 years old.  When will we see nagios-grapher put in the
> standard repository?
> 

Plain simple: When there's someone willing to maintain this.

I personally opted for pnp4nagios instead of nagios_grapher as it's much easier to integrate and setup - plus it seems like nagios-grapher would need it's own patchset to integrate it well into the Gentoo distribution which is another barrier for including it.

Nevertheless, if you're interested in proxy-maintaining this package contact me via email and i'll help with getting this into the main tree.
Comment 25 Ivan Gencev 2008-12-26 18:26:17 UTC
Hi Tobias,

I'll contact you soon (after the holidays) via email.

Cheers


(In reply to comment #24)
> (In reply to comment #23)
> > This bug is now nearly 2 years old.  When will we see nagios-grapher put in the
> > standard repository?
> > 
> 
> Plain simple: When there's someone willing to maintain this.
> 
> I personally opted for pnp4nagios instead of nagios_grapher as it's much easier
> to integrate and setup - plus it seems like nagios-grapher would need it's own
> patchset to integrate it well into the Gentoo distribution which is another
> barrier for including it.
> 
> Nevertheless, if you're interested in proxy-maintaining this package contact me
> via email and i'll help with getting this into the main tree.
> 

Comment 26 Sascha Behrens 2009-11-19 13:48:10 UTC
Hi,
can someone create an ebuild for nagios-grapher-1.7.1?

Thanks
Sascha
Comment 27 Michael Orlitzky gentoo-dev 2017-07-24 13:24:24 UTC
Is anyone still interested in this? If so, does it work with nagios-4.x?
Comment 28 Michael Orlitzky gentoo-dev 2022-02-06 00:52:59 UTC
I've now been maintaining nagios for a few years. If anyone still wants this (and if it's still being developed and still works...), please reopen.