/[smecontribs]/rpms/smeserver-zabbix-agent/contribs9/smeserver-zabbix-agent-0.1-userparam_yum_updates.patch
ViewVC logotype

Annotation of /rpms/smeserver-zabbix-agent/contribs9/smeserver-zabbix-agent-0.1-userparam_yum_updates.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Feb 9 23:18:27 2016 UTC (8 years, 8 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-zabbix-agent-0_1-53_el6_sme, smeserver-zabbix-agent--, HEAD
* Wed Feb 10 stephane de Labrusse <stephdl@de-labrusse.fr> - 0.1-53.sme
- New rpm for sme9

1 stephdl 1.1 --- smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/sudoers/00zabbixAgentAlias.userparam_yum_updates 2009-04-17 10:50:28.000000000 +0200
2     +++ smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/sudoers/00zabbixAgentAlias 2009-04-17 10:54:16.000000000 +0200
3     @@ -1,5 +1,5 @@
4     {
5     -my $runasroot = '/usr/bin/mysqladmin status';
6     +my $runasroot = '/usr/bin/mysqladmin status, /sbin/e-smith/db yum_updates show';
7     if ( -x '/opt/MegaRAID/MegaCli/MegaCli' ){
8     $runasroot .= ', /opt/MegaRAID/MegaCli/MegaCli -ldinfo -Lall -Aall';
9     }
10     --- smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_yumUpdates.userparam_yum_updates 2009-04-17 10:55:29.000000000 +0200
11     +++ smeserver-zabbix-agent-0.1/root/etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90UserParameters_yumUpdates 2009-04-17 11:04:03.000000000 +0200
12     @@ -0,0 +1,11 @@
13     +
14     +# Description: Number of updates available through yum
15     +# Type: Agent or Agent (active)
16     +# Key: updates.available
17     +# Type of information: Numeric (integer 64bit)
18     +# Units: packages
19     +# Custom multiplier: Do not use
20     +# Store Value: As is
21     +
22     +UserParameter=updates.available,/usr/bin/sudo /sbin/e-smith/db yum_updates show | grep package | wc -l
23     +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed