This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Walk through the database and print out the key/data pairs. */ | |
while(NextDB(dbp,dbcp,&key,&ksize,&value,&vsize)) | |
{ | |
if (value != NULL) | |
{ | |
memcpy(&entry,value,sizeof(entry)); | |
// Warning this is not 1:1 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@wes-vsprdesx-10 ~]# diff wes09.installed.rpms.20110909T1114 installed.rpms.20110909T1033 | |
81c81 | |
< initscripts-8.45.19.EL-1.2781.vmw # minor revno of pkg release - probably ok? | |
--- | |
> initscripts-8.45.19.EL-1.2232.vmw | |
114c114 | |
< libsmbios-2.2.19-4.1.vmw4 # installed by openmanage 6.5.0 installer | |
--- | |
> libsmbios-2.2.26-3.1.vmw41 | |
123c123 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[jg685@wes-vsprdesx-09 ~]$ diff -C5 /etc/snmp/snmpd.conf snmpd.conf.wes10 | |
*** /etc/snmp/snmpd.conf 2010-05-03 10:11:36.000000000 -0400 | |
--- snmpd.conf.wes10 2011-08-29 10:11:23.000000000 -0400 | |
*************** | |
*** 50,68 **** | |
#### | |
# Third, create a view for us to let the group have rights to: | |
# Make at least snmpwalk -v 1 localhost -c public system fast again. | |
# name incl/excl subtree mask(optional) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[jg685@macmillan log]$ cat messages messages.1 | grep -B1 "daemon.notice.*From.*" | |
Aug 18 01:04:59 mrfrumble cfservd[2442]: [ID 702911 daemon.notice] Host authorization/authentication failed or access denied | |
Aug 18 01:04:59 mrfrumble cfservd[2442]: [ID 702911 daemon.notice] From (host=vm-monprdslv-04.its.yale.edu,user=root,ip=172.28.55.14) | |
-- | |
Aug 18 06:04:58 mrfrumble cfservd[2442]: [ID 702911 daemon.notice] Host authorization/authentication failed or access denied | |
Aug 18 06:04:58 mrfrumble cfservd[2442]: [ID 702911 daemon.notice] From (host=vm-monprdslv-04.its.yale.edu,user=root,ip=130.132.43.102) | |
-- | |
Aug 18 11:07:17 mrfrumble cfservd[2442]: [ID 702911 daemon.notice] Host authorization/authentication failed or access denied | |
Aug 18 11:07:17 mrfrumble cfservd[2442]: [ID 702911 daemon.notice] From (host=vm-dplprdapx-08.its.yale.internal,user=root,ip=::ffff:172.28.55.18) | |
-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-2.03# diff /var/cfengine/masterfiles/inputs/cf.NfsClient ./cf.NfsClient | |
3a4,6 | |
> | |
> # expose to all NfsClient heaps which chat on storagenet, use filer, etc | |
> | |
7,8d9 | |
< # expose to all NfsClient heaps which chat on storagenet, use filer, etc | |
< # | |
19,22d19 | |
< # This is an ugly hack since portmap is gone/absorbed in RHEL6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#$Id: nfsClient.cf,v 1.3 2011/05/03 19:01:27 jg685 Exp $ | |
################################################################################ | |
# | |
# Set up clients to mount NFS shares on the filer with autofs | |
# | |
# NOTE: the cf2 version of nfsClient drove, with a file copy, the configuration | |
# of the nic for the storage network. Leaving that out now, since | |
# a) we should make that configuration reusable (the need for secondary nic | |
# management is broader than nfsClient); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cf3 Execute scheduled package addition | |
cf3 Command prefix: /usr/bin/yum -y install | |
cf3 Executing /usr/bin/yum -y install qpid-cpp-server-devel-0.10-6.el6.x86... | |
cf3 Q:yum -y install qpid- ...:Loaded plugins: downloadonly, product-id, subscription-manager | |
cf3 Q:yum -y install qpid- ...:Updating Red Hat repositories. | |
cf3 Q:yum -y install qpid- ...:Setting up Install Process | |
cf3 Q:yum -y install qpid- ...:Resolving Dependencies | |
cf3 Q:yum -y install qpid- ...:--> Running transaction check | |
cf3 Q:yum -y install qpid- ...:---> Package qpid-cpp-server-devel.x86_64 0:0.10-6.el6 will be installed | |
cf3 Q:yum -y install qpid- ...:--> Processing Dependency: qpid-cpp-server = 0.10-6.el6 for package: qpid-cpp-server-devel-0.10-6.el6.x86_64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle agent msgApp { | |
vars: | |
msgApp:: | |
"msgApp_pkg_x86_64_ver[boost]" string => "1.41.0-11.el6"; | |
"msgApp_pkg_x86_64_ver[boost-date-time]" string => "1.41.0-11.el6"; | |
"msgApp_pkg_x86_64_ver[boost-devel]" string => "1.41.0-11.el6"; | |
"msgApp_pkg_x86_64_ver[boost-filesystem]" string => "1.41.0-11.el6"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
files: | |
linux.svn_co_done:: | |
"/etc/mail/access.aper" | |
copy_from => copy_std("$(dynamic)/aper/pub/access.aper","$(fileserver)","false","false"), | |
classes => if_repaired("new_access_db"), | |
perms => mode_owner_group("0444", "root", "root"), | |
action => actionsettings_fix_inform("inform"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12:00:01 AM CPU %user %nice %system %iowait %steal %idle | |
09:00:01 PM all 1.14 0.00 0.88 0.29 0.00 97.68 | |
09:00:01 PM 0 1.43 0.00 0.99 0.41 0.00 97.16 | |
09:00:01 PM 1 0.85 0.00 0.77 0.16 0.00 98.21 | |
09:10:01 PM all 1.30 0.00 1.05 5.53 0.00 92.12 | |
09:10:01 PM 0 1.61 0.00 1.26 10.65 0.00 86.48 | |
09:10:01 PM 1 0.99 0.00 0.83 0.41 0.00 97.77 | |
09:20:01 PM all 1.86 0.00 1.28 0.50 0.00 96.36 | |
09:20:01 PM 0 2.22 0.00 1.38 0.72 0.00 95.69 | |
09:20:01 PM 1 1.51 0.00 1.18 0.29 0.00 97.02 |