Building nagios-check_puppet-1.3.txz (origin /buildshare/ports/355755/net-mgmt/nagios-check_puppet) for powerpc-10-0 on XXX slot1: created x distfiles/ x distfiles/check_puppet-1.3.tar.gz x packages/ x packages/pkg-1.2.7_2.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> nagios-check_puppet-1.3 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of nagios-check_puppet-1.3 Make install ===> nagios-check_puppet-1.3 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by nagios-check_puppet-1.3 for building ===> Extracting for nagios-check_puppet-1.3 => SHA256 Checksum OK for check_puppet-1.3.tar.gz. ===> Patching for nagios-check_puppet-1.3 ===> Configuring for nagios-check_puppet-1.3 ===> Installing for nagios-check_puppet-1.3 ===> Generating temporary packing list ===> Checking if net-mgmt/nagios-check_puppet already installed install -o root -g wheel -m 555 /obj/buildshare/ports/355755/net-mgmt/nagios-check_puppet/work/check_puppet-1.3/check_puppet /usr/local/bin/check_puppet install -o root -g wheel -m 444 /obj/buildshare/ports/355755/net-mgmt/nagios-check_puppet/work/check_puppet-1.3/check_puppet.1 /usr/local/man/man1 ******************************************************************************* Configuration expamle: 1. On the client side in snmpd.conf(5) create a new exec command: exec check_puppet /usr/local/bin/check_puppet 2. On the Nagios node create (if necessary) `check_snmp_oid' checkcommand: define command { command_name check_snmp_oid command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -w $ARG2$ -c $ARG3$ } Be sure to provide `command_line' here with correct authentication options specific to your SNMP installation. You need to have package from net-mgmt/nagios-plugins installed on your system compiled with WITH_NETSNMP option enabled (disabled by default). 3. Create a new check service: define service { use generic-service host_name your_hostname service_description Puppet daemon check_command check_snmp_oid!.1.3.6.1.4.1.2021.8.1.101.1,.1.3.6.1.4.1.2021.8.1.100.1!,0!,1! } Adjust OID numbers to your SNMP installation by checking the output of snmpwalk(1) command. The first OID should be the STRING output from exec, the second should point to the INTEGER exit code. Restart Nagios and SNMP daemons to apply new configuration. ******************************************************************************* ===> Compressing manual pages for nagios-check_puppet-1.3 ===> Registering installation for nagios-check_puppet-1.3 Installing nagios-check_puppet-1.3... done Make package ===> Building package for nagios-check_puppet-1.3 Creating package for nagios-check_puppet-1.3 slot1: removed