unable to process perf data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
agopir73
Posts: 1
Joined: Tue Oct 15, 2019 10:52 am

unable to process perf data

Post by agopir73 »

Hi Team, we have few concerns to enable performance data.

1) We are unable to process perf data by using active check
2) Can we process data with more then 5 columns ?
As per the documet we can see only 5 columns ( 'label'=value[UOM];[warn];[crit];[min];[max] )
https://nagios-plugins.org/doc/guidelines.html
3) Can we process performance data if file size more then 40kb data ?

Please check and do the needful on priority
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: unable to process perf data

Post by cdienger »

Performance data can include multiple labels each with their own details but each label is limited to one value, warn, crit, min, and max columns.

The data that is made available in perdata should be relatively small. What does your output look like when you run the plugin on the command line?

Here is an example of output from a check_disk plugin where you can see

Code: Select all

DISK OK - free space: / 10011 MB (55.99% inode=99%); /dev 1885 MB (100.00% inode=100%); /dev/shm 1895 MB (100.00% inode=100%); /run 1887 MB (99.55% inode=100%); /sys/fs/cgroup 1895 MB (100.00% inode=100%); /boot 198 MB (39.93% inode=100%); /var/nagiosramdisk 99 MB (99.78% inode=100%); /run/user/0 379 MB (100.00% inode=100%);| /=7866MB;17869;17868;0;17878 /dev=0MB;1876;1875;0;1885 /dev/shm=0MB;1886;1885;0;1895 /run=8MB;1886;1885;0;1895 /sys/fs/cgroup=0MB;1886;1885;0;1895 /boot=298MB;487;486;0;496 /var/nagiosramdisk=0MB;91;90;0;100 /run/user/0=0MB;370;369;0;379
The perfdata is everything after the | :

Code: Select all

/=7866MB;17869;17868;0;17878 
/dev=0MB;1876;1875;0;1885 
/dev/shm=0MB;1886;1885;0;1895 
/run=8MB;1886;1885;0;1895 
/sys/fs/cgroup=0MB;1886;1885;0;1895 
/boot=298MB;487;486;0;496 
/var/nagiosramdisk=0MB;91;90;0;100 
/run/user/0=0MB;370;369;0;379
You can see how it is formatted label=value,warn,crit,min,max.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked