[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-virtual-server
Subject: Re: [lvs-users] Weird values for lvsServiceStatsInBytes
From: "Laurentiu C. Badea (L.C.)" <lc () waat ! com>
Date: 2008-10-07 17:31:31
Message-ID: 48EB9CF3.6040704 () waat ! com
[Download RAW message or body]
Great! I would also create the necessary config and reload snmpd on
install and uninstall, so it will "just work" immediately after install,
something like this.
mkdir -p $RPM_BUILD_ROOT/etc/snmp
echo "dlmod lvs /usr/lib/libnetsnmplvs.so" >
$RPM_BUILD_ROOT/etc/snmp/snmpd.local.conf
%files
...
%config(noreplace) /etc/snmp/snmpd.local.conf
%post
test $1 = 1 && chkconfig snmpd && service snmpd reload || true;
%postun
test $1 = 0 && chkconfig snmpd && service snmpd reload || true;
Jack Neely wrote:
> And for interested folks, a src.rpm:
>
> http://install.linux.ncsu.edu/pub/yum/CLS/CLSTools.EL4/srpms/net-snmp-lvs-module-0.0.4-2.EL4.src.rpm
>
> Jack Neely
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic