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
Created attachment 90777 [details] nagios-grapher-1.6_rc1-r1.ebuild (New Package)
Created attachment 90778 [details] Required Patch
Created attachment 90779 [details] Required Bugfix
Created attachment 90780 [details] Required Patch
Created attachment 90781 [details] Required Patch
Created attachment 90782 [details] Required Init-Script
Created attachment 90783 [details] Required Patch/Bugfix
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
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.
Created attachment 102450 [details] Grapher with experimental patches
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
(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
Created attachment 115837 [details] nagios-grapher-1.6_rc1-r2.ebuild
Created attachment 115838 [details] nagios-grapher-1.6.1_rc3-r1.ebuild
(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
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.
Created attachment 115843 [details] nagios-grapher-1.6.1_rc3-r2.ebuild
(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.
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.
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.
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
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 ?
This bug is now nearly 2 years old. When will we see nagios-grapher put in the standard repository?
(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.
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. >
Hi, can someone create an ebuild for nagios-grapher-1.7.1? Thanks Sascha
Is anyone still interested in this? If so, does it work with nagios-4.x?
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.