|
|
Mozy Online Backup: 2GB Free. Automatic. Secure.
Subject: Re: Net::SNMP questions... - msg#00005
List: db.rddtool.munin.general
* Kevin Fenzi
> Fedora extras itself only supports fedora, but there is a project at
> http://centos.karan.org/ that repackages the extras for CentOS (which
> is basically the same as RHEL). So, you should be able to use the
> packages there on RHEL.
Splendid!
> Well, not sure the package I make will be good for you to use as a
> generic package. Suse/mandrake/etc might be diffrent.
We've already got packages for SuSE, so that's no problem. RHEL is
what we're missing, but I've had no problems using manually rebuilt
packages from Fedora before,
> Take a look at:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175144
>
> for links to my packages and specs. Feel free to merge anything you
> like into the spec you use.
Oh, you've submitted to Fedora proper as well? How cool :-) Well,
if those guys says it's ok then I have no objections, at least.
One comment, though. Instead of simply deleting the plugins with
problematic deps, you could filter out the requires they generate.
That way they'll work if the user have installed the modules from CPAN
or something like that. I learned how to do this when I had a similar
problem with a cpanflute-generated .src.rpm. You put
"Source999: filter-requires.sh" and
"%define __find_requires %{SOURCE999}" in the .spec.
SOURCES/filter-requires.sh is a simple shell script, containing the
following:
#!/bin/sh
/usr/lib/rpm/find-requires "$@" \
| egrep -vi 'mqseries|mime::lite|net::jabber'
Obviously you need to replace the regexp with whatever you want to
filter out, but I didn't need to tell you that, I'm sure. :-)
I'll ask Dagfinn to create a SVN user for you when he arrives at the
office, and then I'll send you the credentials in private mail.
Username "kevin" would be fine, or do you have another preference?
--
Tore Anderson
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: Net::SNMP questions...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Tore" == Tore Anderson <tore@xxxxxxxxx> writes:
Tore> * Kevin Fenzi
>> I am looking at packaging munin up for fedora-extras (
>> http://fedoraproject.org/wiki/Extras/ )
Tore> Hooray! We've been looking for someone who would like to
Tore> maintain RPM packages for RH a long time now. Personally, I'm
Tore> most interested in RHEL variants but I guess that "one size fits
Tore> all" when it comes to Fedora/RHEL RPMs?
Mostly. Fedora extras has some pretty strict guidelines to make sure
all the packages are well made.
Fedora extras itself only supports fedora, but there is a project at
http://centos.karan.org/ that repackages the extras for CentOS (which
is basically the same as RHEL). So, you should be able to use the
packages there on RHEL.
Tore> Anyway, if you want to do help out with this, please make an
Tore> example package and if it looks good I'm sure we'll set up SVN
Tore> write access for you. (Hope you don't mind us screening your
Tore> skills a little bit before giving you write access to the entire
Tore> source tree...)
Well, not sure the package I make will be good for you to use as a
generic package. Suse/mandrake/etc might be diffrent.
Take a look at:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175144
for links to my packages and specs. Feel free to merge anything you
like into the spec you use.
Tore> You could take a look at dists/redhat/*, which contains an
Tore> example *.spec and other files, which unfortunately aren't very
Tore> well maintained but may provide inspiration.
yeah, I started with the spec from the last src.rpm I could find on
the sourceforge download site.
>> So, I guess my question is, is there any chance that munin might
>> look at using net-snmp-perl instead of perl-Net-SNMP? Or make it an
>> alternate depending on which one is available?
Tore> I have no objections to this as long as everything'll work
Tore> anyway. But it's obviously your itch to scratch so I suggest
Tore> you start working on a patch. If it looks good, it'll surely be
Tore> merged. :-)
Yeah, I can see what I can do... might have time to work on it over
the holidays.
Tore> Kind regards -- Tore Anderson
kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFDnw/o3imCezTjY0ERAsTbAJ0SCe0uUTjI2+IAMsWA8mlwiAVGEQCdHGM7
2IDVOBNUTISIXX/i2bpyjT0=
=XBhq
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Next Message by Date:
click to view message preview
New broom, new home page
Hi,
I'm Linpro's new Munin broom. Jimmy has been too pressed for time
lately and has been looking for someone to pass things on to.
My munin background is that I've submitted a few plugins - but never
worked further down in Munin than that. So I started out by moving the
Munin home page. http://munin.sourceforge.net/ now points to a Trac site
at Linpro. We've started working on the documentation in the Wiki
included in Trac and ported all the bug and feature requests from source
forge to Tracs ticket system. Any of you that had outstadning requests
at source forge should have received email about that.
I propose that the documentation from now on is whatever is in the Trac
Wiki. The distribution (.tar,.rpm and so on) will probably have some
dumps from there in addition to the README and INSTALL files.
Please take a look at the documentation there and feel free to fix any
mistakes or lacks (lots of stuff is still missing). Aside from the
opening page all the pages are open to anonymous editing.
I should be able to devote a couple of more days to Munin before
Christmas- I may well end up using them to write documentation just to
increase my own understanding of Munin.
Regards,
Nicolai
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Previous Message by Thread:
click to view message preview
Re: Net::SNMP questions...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Tore" == Tore Anderson <tore@xxxxxxxxx> writes:
Tore> * Kevin Fenzi
>> I am looking at packaging munin up for fedora-extras (
>> http://fedoraproject.org/wiki/Extras/ )
Tore> Hooray! We've been looking for someone who would like to
Tore> maintain RPM packages for RH a long time now. Personally, I'm
Tore> most interested in RHEL variants but I guess that "one size fits
Tore> all" when it comes to Fedora/RHEL RPMs?
Mostly. Fedora extras has some pretty strict guidelines to make sure
all the packages are well made.
Fedora extras itself only supports fedora, but there is a project at
http://centos.karan.org/ that repackages the extras for CentOS (which
is basically the same as RHEL). So, you should be able to use the
packages there on RHEL.
Tore> Anyway, if you want to do help out with this, please make an
Tore> example package and if it looks good I'm sure we'll set up SVN
Tore> write access for you. (Hope you don't mind us screening your
Tore> skills a little bit before giving you write access to the entire
Tore> source tree...)
Well, not sure the package I make will be good for you to use as a
generic package. Suse/mandrake/etc might be diffrent.
Take a look at:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175144
for links to my packages and specs. Feel free to merge anything you
like into the spec you use.
Tore> You could take a look at dists/redhat/*, which contains an
Tore> example *.spec and other files, which unfortunately aren't very
Tore> well maintained but may provide inspiration.
yeah, I started with the spec from the last src.rpm I could find on
the sourceforge download site.
>> So, I guess my question is, is there any chance that munin might
>> look at using net-snmp-perl instead of perl-Net-SNMP? Or make it an
>> alternate depending on which one is available?
Tore> I have no objections to this as long as everything'll work
Tore> anyway. But it's obviously your itch to scratch so I suggest
Tore> you start working on a patch. If it looks good, it'll surely be
Tore> merged. :-)
Yeah, I can see what I can do... might have time to work on it over
the holidays.
Tore> Kind regards -- Tore Anderson
kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFDnw/o3imCezTjY0ERAsTbAJ0SCe0uUTjI2+IAMsWA8mlwiAVGEQCdHGM7
2IDVOBNUTISIXX/i2bpyjT0=
=XBhq
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Next Message by Thread:
click to view message preview
Re: Net::SNMP questions...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Tore" == Tore Anderson <tore@xxxxxxxxx> writes:
Tore> * Kevin Fenzi
>> Fedora extras itself only supports fedora, but there is a project
>> at http://centos.karan.org/ that repackages the extras for CentOS
>> (which is basically the same as RHEL). So, you should be able to
>> use the packages there on RHEL.
Tore> Splendid!
>> Well, not sure the package I make will be good for you to use as a
>> generic package. Suse/mandrake/etc might be diffrent.
Tore> We've already got packages for SuSE, so that's no problem.
Tore> RHEL is what we're missing, but I've had no problems using
Tore> manually rebuilt packages from Fedora before,
Cool.
>> Take a look at:
>> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175144
>>
>> for links to my packages and specs. Feel free to merge anything you
>> like into the spec you use.
Tore> Oh, you've submitted to Fedora proper as well? How cool :-)
Tore> Well, if those guys says it's ok then I have no objections, at
Tore> least.
Well, thats fedora extras, not Fedora Core, but they are closely
related. ;)
Tore> One comment, though. Instead of simply deleting the plugins
Tore> with problematic deps, you could filter out the requires they
Tore> generate. That way they'll work if the user have installed the
Tore> modules from CPAN or something like that. I learned how to do
Tore> this when I had a similar problem with a cpanflute-generated
Tore> .src.rpm. You put "Source999: filter-requires.sh" and "%define
Tore> __find_requires %{SOURCE999}" in the
Tore> .spec. SOURCES/filter-requires.sh is a simple shell script,
Tore> containing the following:
Tore> #!/bin/sh
Tore> /usr/lib/rpm/find-requires "$@" \ | egrep -vi
Tore> 'mqseries|mime::lite|net::jabber'
Tore> Obviously you need to replace the regexp with whatever you
Tore> want to filter out, but I didn't need to tell you that, I'm
Tore> sure. :-)
That's clever. The orig rpm spec for munin used a diffrent trick:
It would chmod -x all the plugins, and so rpm wouldn't check them for
dependencies, then chmod +x them after that.
I think it's cleaner to just remove those plugins.
People who install via yum/apt/yast2/etc will expect all the
dependencies to be met when they install a package. For something to
not work would be confusing and annoying. I think it's better to make
sure all the plugins work within the package system or not ship them.
Tore> I'll ask Dagfinn to create a SVN user for you when he arrives
Tore> at the office, and then I'll send you the credentials in private
Tore> mail. Username "kevin" would be fine, or do you have another
Tore> preference?
That would be fine.
Tore> -- Tore Anderson
kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFDoFs43imCezTjY0ERAhHPAJ9pykYgxU1hOZKeApSjf41uzgXgogCbBsXc
8F0MKBBdTTqrMl2atO4Ezg8=
=2N4z
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
|
|