BSD Ports

net-mgmt/nagios-check_puppet 1.3_1 FreeBSD

Nagios plugin for checking Puppet daemon availability

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
net-mgmt
Package size
7.2 KiB, 12.6 KiB installed

Description

check_puppet - is a very simple Nagios plugin to check Puppet daemon availability with SNMP.

Why check_puppet?

  1. It does check whether puppetd and puppetmasterd is alive.

  2. It does check state.yaml freshness

  3. It does not require the full net-mgmt/nagios-plugins package on the client side

  4. It is written in sh - code interpreter available in a base system

In the other systems

The newest version among them is 1.3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDnet-mgmt/nagios-check_puppet1.3_1 newestnone known-[email protected]-
DragonFlynet-mgmt/nagios-check_puppet1.3_1 newestnone known-[email protected]-
HardenedBSDnet-mgmt/nagios-check_puppet1.3_1 newestno data-[email protected]-
GhostBSDnet-mgmt/nagios-check_puppet1.3_1 newestno data-[email protected]-

Install

Binary package:

pkg install nagios-check_puppet

From the ports tree:

cd /usr/ports/net-mgmt/nagios-check_puppet/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	nagios-check_puppet>0:net-mgmt/nagios-check_puppet

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.3_11.3_11.31.3_11.3_1
FreeBSD:14:quarterly1.3_11.3_1n/a1.3_11.3_1
FreeBSD:15:latest1.3_11.3_1n/a1.3_11.3_1
FreeBSD:15:quarterly1.3_11.3_1n/an/an/a
FreeBSD:16:latest1.3_11.3_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Configuration example:

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.

===>   NOTICE:

The nagios-check_puppet port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

distinfo 1
FileSizeSHA256
check_puppet-1.3.tar.gz67537c5a59c1dcf7da1df5aa4481a7e6f3db56bf298fa969706ed7650f37ef0cdd0b
Master sites 1
  • ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/

Commit history 0

No commits in the history this site was built from.