scripted in bash for easy reusing
$ cat my-hostprefix-clu-host-GEN.cfg my-hostprefix--clu-services-GEN.cfg my-hostprefix-clu-deps-GEN.cfg
vimdiff <( echo "##### $1 #####" ; ssh root@$1 ls -l $3 | sort -k9 ) <( echo "##### $2 ##### ; ssh root@$2 ls -l $3 | sort -k9 ) |
it is important to note, that this is slooooow. i think about some sort of asynchronicity
# time bash check-out-of-repos.sh
FAILED, 8 packages without repos found: etnpol-tomcat-5.5.23-mysql-5.5.23-6.noarch git-1.8.0.1-1.jhr.1.el6.x86_64 etnpol-tomcat-5.5.23-log4j-5.5.23-6.noarch etnpol-tomcat-5.5.23-5.5.23-6.noarch perl-Git-1.8.0.1-1.jhr.1.el6.noarch percona-release-0.0-1.x86_64 etnpol-tomcat-5.5.23-core-5.5.23-6.noarch nagios-plugin-check-bindmounts-0.1.00.snap.20130307.115442.git.7b7b268-0.el6.noarch
real 5m32.469s
perl -pe 's/(\d+)/localtime($1)/e' |
# hotfix for this issue: | |
# X11 connection rejected because of wrong authentication | |
# debug2: X11 connection uses different authentication protocol. | |
# | |
# credits go to contributors in this bugzilla entry: | |
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=49944 | |
# | |
n=$(xauth list | grep unix:"$(echo $DISPLAY | cut -d : -f 2 | cut -d . -f 1)" | sed -e 's,/unix:,:,') | |
echo "INFO: $n" |
to much depends over paradise.... | |
mod_authnz_crowd od atlassianu | |
original package.... | |
[root@etn-twinstone-1 ~]# yum install mod_authnz_crowd-2.0.1-1.el6.x86_64.rpm | |
Loaded plugins: changelog, downloadonly, etckeeper, priorities, security, versionlock | |
base | 3.7 kB 00:00 |
running check against remote host (useful for testing from central nagios server)
# nrpe-checkrun check_load server.domain.xxx
OK - load average: 3.40, 2.51, 2.51|load1=3.400;15.000;30.000;0; load5=2.510;10.000;25.000;0; load15=2.510;5.000;20.000;0;
running on server for checking nrpe configuration
# nrpe-checkrun check_disk_all
DISK OK - free space: / 10911 MB (82% inode=92%); /dev/shm 1003 MB (100% inode=99%); /boot 18 MB (20% inode=99%);| /=2392MB;12614;13315;0;14016 /dev/shm=0MB;902;952;0;1003 /boot=73MB;86;91;0;96