When I talk to v3 client, output is truncated to 1024 bytes.If I force v3 packet, output is retrieved without 1024 byte limitation.
When I talk to v4 client, output is retrieved without 1024 byte limitation.If I force v3 packet, output is truncated to 1024 bytes
What I expect is that; Without any switch, it will correctly retireve packets exceedng 1024 bytes. 1024 byte limitation only belongs to v2 packets..
How can I retrieve my packets without 1024 byte limitation? and what is the reason for this unexpected behaviour
Code: Select all
#here Nagios Server
[root@nagios libexec]# ./check_nrpe -V
NRPE Plugin for Nagios
Version: 4.0.3
#Here CLIENT1
[root@nagios libexec]# check_nrpe -H Client1
NRPE v3.2.1
[root@nagios libexec]# check_nrpe -H Client1 -c check_disk -a '-e -w 20% -c 10% -W 3% -K 2% -X tmpfs -X devtmpfs -X tracefs -X iso9660 -X nsfs -X overlay -X fuse.gvfs-fuse-daemon -x /boot/efi -C -w 10% -c 5% -p / -C -w 3% -c 2% -p /boot -L' | wc -c
1024
[root@nagios libexec]# check_nrpe -3 -H Client1 -c check_disk -a '-e -w 20% -c 10% -W 3% -K 2% -X tmpfs -X devtmpfs -X tracefs -X iso9660 -X nsfs -X overlay -X fuse.gvfs-fuse-daemon -x /boot/efi -C -w 10% -c 5% -p / -C -w 3% -c 2% -p /boot -L' | wc -c
1241
#Here CLIENT2
[root@nagios libexec]# check_nrpe -H Client2
NRPE v4.0.2
[root@nagios libexec]# check_nrpe -H Client2 -c check_disk -a '-e -w 20% -c 10% -W 3% -K 2% -X tmpfs -X devtmpfs -X tracefs -X iso9660 -X nsfs -X overlay -X fuse.gvfs-fuse-daemon -x /boot/efi -C -w 10% -c 5% -p / -C -w 3% -c 2% -p /boot -L' | wc -c
1175
[root@nagios libexec]# check_nrpe -3 -H Client2 -c check_disk -a '-e -w 20% -c 10% -W 3% -K 2% -X tmpfs -X devtmpfs -X tracefs -X iso9660 -X nsfs -X overlay -X fuse.gvfs-fuse-daemon -x /boot/efi -C -w 10% -c 5% -p / -C -w 3% -c 2% -p /boot -L' | wc -c
1024