Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory

iraz098

Reviews(1)
byiraz098, March 18, 2018
check_file_count
I was not getting the perfdata values until my coleague recommended to change the line 238
"Performance data in the actual script (check_file_count) seems to be in row no 238 which is:
PERFDATA="| Total=$FILECOUNT"Count";$TESTEDWARN;$TESTEDCRIT Files=$FILENUMBER"Files" 'Directories'=$DIRNUMBER"Directories""
So commented the above and put the below line and it worked:
PERFDATA="| Total=$FILECOUNT;$TESTEDWARN;$TESTEDCRIT Files=$FILENUMBER Directories=$DIRNUMBER"