Check SWYX

Show Swyx Calls (total calls, active internal and external calls) via SNMP incl. perfdata

check_swyx.pl

Nagios/Icinga plugin to monitor Swyx call counters via SNMP.

Features

  • Reads total calls
  • Reads active internal calls
  • Reads active external calls
  • Nagios-compatible output with perfdata

Requirements

  • Perl 5.10+
  • Net::SNMP
  • Nagios/Icinga utils.pm

Usage

./check_swyx.pl -H  -C 

SNMPv3 example:

./check_swyx.pl -H  -v 3 -U  -A  -a SHA1 -X  -L authPriv

Output

Perfdata fields:

  • total_calls
  • active_exca
  • active_inca

Exit codes:

  • 0 OK
  • 1 WARNING
  • 2 CRITICAL
  • 3 UNKNOWN

Notes

The repository includes the original script (check_swyx.pl) and an optional modernized variant (check_swyx.v2.pl) for simpler maintenance.

License

GNU General Public License v2.0 (see source header).