Mock Version: 0.9.14 Mock Version: 0.9.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/nagios-plugin-mongodb.spec'], False, '/var/lib/mock/centos6-rutgers-staging-build-4517-6751/root/', None, 86400, True, 0, 486, 495, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/nagios-plugin-mongodb.spec'] warning: Could not canonicalize hostname: opus5.rutgers.edu Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/nagios-plugin-mongodb-15.3.24-1.ru6.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/nagios-plugin-mongodb.spec'], False, '/var/lib/mock/centos6-rutgers-staging-build-4517-6751/root/', None, 86400, True, 0, 486, 495, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/nagios-plugin-mongodb.spec'] Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RLS5d7 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf nagios-plugin-mongodb + /usr/bin/gzip -dc /builddir/build/SOURCES/nagios-plugin-mongodb-15.3.24.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd nagios-plugin-mongodb + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KdIoly + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nagios-plugin-mongodb-15.3.24-1.ru6.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nagios-plugin-mongodb-15.3.24-1.ru6.noarch ++ dirname /builddir/build/BUILDROOT/nagios-plugin-mongodb-15.3.24-1.ru6.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nagios-plugin-mongodb-15.3.24-1.ru6.noarch + cd nagios-plugin-mongodb + LANG=C + export LANG + unset DISPLAY + cd ../ + mkdir -p /builddir/build/BUILDROOT/nagios-plugin-mongodb-15.3.24-1.ru6.noarch/usr/local/nagios/libexec + mkdir -p /builddir/build/BUILDROOT/nagios-plugin-mongodb-15.3.24-1.ru6.noarch/usr/local/nagios/etc + cp -r nagios-plugin-mongodb /builddir/build/BUILDROOT/nagios-plugin-mongodb-15.3.24-1.ru6.noarch/usr/local/nagios/libexec + echo ' define command { command_name check_mongodb command_line $/nagios-plugin-mongodb/check_mongodb.py -H $ -A $ -P $ -W $ -C $ } define command { command_name check_mongodb_database command_line $/nagios-plugin-mongodb/check_mongodb.py -H $ -A $ -P $ -W $ -C $ -d $ } define command { command_name check_mongodb_collection command_line $/nagios-plugin-mongodb/check_mongodb.py -H $ -A $ -P $ -W $ -C $ -d $ -c $ } define command { command_name check_mongodb_replicaset command_line $/nagios-plugin-mongodb/check_mongodb.py -H $ -A $ -P $ -W $ -C $ -r $ } define command { command_name check_mongodb_query command_line $/nagios-plugin-mongodb/check_mongodb.py -H $ -A $ -P $ -W $ -C $ -q $ ' + echo ' define service { use generic-service hostgroup_name Mongo Servers service_description Mongo Connect Check check_command check_mongodb!connect!27017!2!4 } define service { use generic-service hostgroup_name Mongo Servers service_description Mongo Free Connections check_command check_mongodb!connections!27017!70!80 } define service { use generic-service hostgroup_name Mongo Servers service_description Mongo Replication Lag check_command check_mongodb!replication_lag!27017!15!30 } define service { use generic-service hostgroup_name Mongo Servers service_description Mongo Replication Lag Percentage check_command check_mongodb!replication_lag_percent!27017!50!75 } define service { use generic-service hostgroup_name Mongo Servers service_description Mongo Memory Usage check_command check_mongodb!memory!27017!20!28 } define service { use generic-service hostgroup_name Mongo Servers service_description Mongo Mapped Memory Usage check_command check_mongodb!memory_mapped!27017!20!28 } define service { use generic-service hostgroup_name Mongo Servers service_description Mongo Lock Percentage check_command check_mongodb!lock!27017!5!10 } define service { use generic-service hostgroup_name Mongo Servers service_description Mongo Flush Average check_command check_mongodb!flushing!27017!100!200 } define service { use generic-service hostgroup_name Mongo Servers service_description Mongo Last Flush Time check_command check_mongodb!last_flush_time!27017!200!400 } define service { use generic-service hostgroup_name Mongo Servers service_description MongoDB state check_command check_mongodb!replset_state!27017!0!0 } define service { use generic-service hostgroup_name Mongo Servers service_description MongoDB Index Miss Ratio check_command check_mongodb!index_miss_ratio!27017!.005!.01 } define service { use generic-service hostgroup_name Mongo Servers service_description MongoDB Number of databases check_command check_mongodb!databases!27017!300!500 } define service { use generic-service hostgroup_name Mongo Servers service_description MongoDB Number of collections check_command check_mongodb!collections!27017!300!500 } define service { use generic-service hostgroup_name Mongo Servers service_description MongoDB Database size your-database check_command check_mongodb_database!database_size!27017!300!500!your-database } define service { use generic-service hostgroup_name Mongo Servers service_description MongoDB Database index size your-database check_command check_mongodb_database!database_indexes!27017!50!100!your-database } define service { use generic-service hostgroup_name Mongo Servers service_description MongoDB Database index size your-database check_command check_mongodb_collection!collection_indexes!27017!50!100!your-database!your-collection } define service { use generic-service hostgroup_name Mongo Servers service_description MongoDB Replicaset Master Monitor: your-replicaset check_command check_mongodb_replicaset!replica_primary!27017!0!1!your-replicaset } define service { use generic-service hostgroup_name Mongo Servers service_description MongoDB Updates per Second check_command check_mongodb_query!queries_per_second!27017!200!150!update } define service { use generic-service hostgroup_name Mongo Servers service_description Mongo Connect Check check_command check_mongodb!connect_primary!27017!2!4 } define service { use generic-service hostgroup_name Mongo Servers service_description Mongo Collection State check_command check_mongodb!collection_state!27017!your-database!your-collection } ' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: nagios-plugin-mongodb-15.3.24-1.ru6.noarch Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: /usr/bin/env Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nagios-plugin-mongodb-15.3.24-1.ru6.noarch warning: Could not canonicalize hostname: opus5.rutgers.edu Wrote: /builddir/build/RPMS/nagios-plugin-mongodb-15.3.24-1.ru6.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qoTqIr + umask 022 + cd /builddir/build/BUILD + cd nagios-plugin-mongodb + rm -rf /builddir/build/BUILDROOT/nagios-plugin-mongodb-15.3.24-1.ru6.noarch + exit 0 Child returncode was: 0 LEAVE do -->