Re: Check_smb_status.sh Plugin
Posted: Wed Aug 03, 2016 6:18 pm
I have uploaded the screenshot and when navigating to "/usr/local/nagios/share/perfdata/<hostname>/", I don't see any of the mentioned files.
--Berto
--Berto
Support for Nagios products and services
https://support.nagios.com/forum/
That example output does not have any performance data, performance data is everything after the pipe symbol | .Berto wrote:If I do it from the nagios server to the host from command line it does display back;
Code: Select all
[lnsvr0370]:(584/0)-$ ssh abeltr01@susvr0215 /opt/nagios/libexec/check_smb_status.sh Total Users/Process: 110 Total Machines: 108 Total Files: 715
Code: Select all
echo "Total Users/Process:$total_usersProcess Total Machines:$total_machines Total Files:$total_files |'Total Users/Process'=$total_usersProcess 'Total Machines'=$total_machines 'Total Files'=$total_files"