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

Contents of /rpms/smeserver-zabbix-agent/contribs10/smeserver-zabbix-agent-0.1-userparam_yum_updates.patch

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


Revision 1.2 - (show annotations) (download)
Thu Apr 1 15:12:33 2021 UTC (3 years, 1 month ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
last fws version

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