Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Nagios Clinet (NRPE) is giving perfect output while the same doesn’t happen from Nagios Core Server.
Here is the state:
On NRPE (Nagios Client) Server:-
./check_file_count -t=all -s=yes -wt=high -w 250 -c 300 -p=yes /var/named/ OK: Number of files and directories in /var/named/ is 216 (Warn=250, Crit=300) Files=213, Directories=3 | Total=216Count;250;300 Files=213Files ‘Directories’=3Directories
From Nagios Core Server:- ./check_nrpe -H 172.16.1.10 -c check_file_count OK: Number of files and directories in /var/named/ is -1 (Warn=250, Crit=300) Files=0, Directories=-1 | Total=-1Count;250;300 Files=0Files ‘Directories’=-1Directories
Something is wrong with the script or call from Nagios Server. May be sudo…!!!
Please Guide.