How to increase check_nrpe output truncated / limited
Posted: Mon Dec 15, 2014 7:54 am
Hello,
I am aware there is a output limit for check_nrpe output.
But, I would like to change that value. Could you please direct me to path or file / parameter where I need to modify the particular value.
Nagios Server: Output
--------------------------------
[root@Nagios_server ~]# /usr/local/nagios/libexec/check_nrpe -H postgresqlsrv.domain.local -t 30 -c check_postgres -a '--dbuser=nagiosusr --dbpass=xxx --PGBINDIR=/db/pgsql/bin/ --action=database_size --warning=150GB --critical=250GB' | wc -c
1024
Inside Postgresql server
----------------------------
[user01@postgresqlsrv ~]$ sudo /usr/lib64/nagios/plugins/check_postgres.pl --dbuser=nagiosusr --dbpass=xxx --PGBINDIR=/db/pgsql/bin/ --action=database_size --warning=150GB --critical=250GB | wc -c
2366
Command inside nrpe.cfg on Postgresql server
------------------------------------------------------------
command[check_postgres]=/usr/lib64/nagios/plugins/check_postgres.pl $ARG1$ $ARG2$ $ARG3$
I am aware there is a output limit for check_nrpe output.
But, I would like to change that value. Could you please direct me to path or file / parameter where I need to modify the particular value.
Nagios Server: Output
--------------------------------
[root@Nagios_server ~]# /usr/local/nagios/libexec/check_nrpe -H postgresqlsrv.domain.local -t 30 -c check_postgres -a '--dbuser=nagiosusr --dbpass=xxx --PGBINDIR=/db/pgsql/bin/ --action=database_size --warning=150GB --critical=250GB' | wc -c
1024
Inside Postgresql server
----------------------------
[user01@postgresqlsrv ~]$ sudo /usr/lib64/nagios/plugins/check_postgres.pl --dbuser=nagiosusr --dbpass=xxx --PGBINDIR=/db/pgsql/bin/ --action=database_size --warning=150GB --critical=250GB | wc -c
2366
Command inside nrpe.cfg on Postgresql server
------------------------------------------------------------
command[check_postgres]=/usr/lib64/nagios/plugins/check_postgres.pl $ARG1$ $ARG2$ $ARG3$