nagios - pnp4nagios only displays first graph returned by check_int.pl -


i having difficulty getting more 1 graph worth of perfdata display using pnp4nagios naemon. appears format not nagios expecting pass pnp4nagios. think have recent version of check_int.pl: program : check_netint.pl or check_snmp_netint.pl version : 2.4 alpha 9 date : nov 30, 2012

the perfdata format looks ok. in others work multiple graphs there seem equivalent number of entries on left side of "|" right side. i've tried entering in -w , -c values ;;; below filled those. not seem make difference.

i'd 4 graphs below return data, in/out each of 2 interfaces. ideas?

 %   /usr/lib64/naemon/plugins//check_int.pl -h 10.61.146.227 -c sparkred -2 -n bond0  -w -z -f -e -s -k -y -b    bond0:up (1717.9kbps/3854.1kbps), bond0.1422:up (19.0kbps/326.0kbps) (2 up): ok |  'bond0_in_bps'=1717881;;; 'bond0_out_bps'=3854092;;;  'bond0.1422_in_bps'=19023;;; 'bond0.1422_out_bps'=325999;;; 

thanks!

i think you're missing pnp4nagios template written particular nagios plugin.

try downloading: https://raw.githubusercontent.com/willixix/wl-nagiosplugins/master/graphing_templates/pnp4nagios/check_snmp_network_interface_linux.php

and placing in pnp4nagios templates folder. on system, path ends being:

/usr/local/pnp4nagios/share/templates/check_snmp_network_interface_linux.php 

then restart nagios service.

here's more information pnp4nagios templates: http://docs.pnp4nagios.org/pnp-0.6/tpl

this site of nagios plugin's author: http://william.leibzon.org/nagios/


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -