Dnia wtorek, 13 lutego 2007 13:50, Paweł Kośka napisał: > Chyba normalnie spróbuję tego speca wymieszać... Może się uda.
No i zrobiłem, zbudowałem i też nie działa. Chyba wyluzuję z tym SNMP i quaggą, a tak chciałem to do Nagiosa i do Cacti podpiąć ;) W załączniku mój spec. Pierwszy jaki udało mi się zrobić, ale mam nadzieję że nie ostatni. -- Pozdrawiam, Paweł
# $Revision:$, $Date:$ Summary: Net-SNMP extension for monitoring Quagga bgpd Name: quagga-snmp Version: 0.3 Release: 0.1 License: GPLv2 Group: Applications Source0: http://www.net-track.ch/opensource/quagga-snmp/%{name}-%{version}.tar.gz # Source0-md5: a5c06a2ef8d164a0a4f04c1e3c7a2516 URL: http://www.net-track.ch/opensource/quagga-snmp/ BuildRequires: rpmbuild(macros) >= 1.228 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description quagga-snmp-bgpd is an extension for the Net-SNMP agent. It probes a running Quagga bgpd instance and makes show ip bgp summary statistics available through SNMP. Unlike the standard RFC 1657 BGP4 MIB, this includes the number of prefixes received from every peer. This makes it possible to see disappearing peers using a tool such as MRTG. %prep %setup -q %build %{__aclocal} %{__autoconf} %{__automake} %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README %attr(755,root,root) %{_sbindir}/* %{_mandir}/man8/* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[EMAIL PROTECTED]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log:$
_______________________________________________ pld-users-pl mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-users-pl
