I’m just migrating from 2.9 to 3.0.6.
Both of my instances run on Mac OS X and have been installed via MacPorts.
Both are functional, sending me warnings as expected/configured, and working almost perfectly.
I rely on the check_disk_smb plugin to give me information about available space on a variety of SMB shares in my architecture.
The plugin works just fine in 2.9 installation.
The new 3.0.6 installation is behaving quite oddly though.
On the 3.0.6 nagios machine, when executed from the command line in /opt/local/libexec/nagios with the same construct as my commands.cfg definition I am able to obtain the expected results. Here’s how the command is defined in my commands.cfg file:
define command{
command_name check_smb
command_line $USER1$/check_disk_smb -H $HOSTNAME$ -s $ARG1$ -W mydomain -u myuser -p mypasswd
}
Here’s the syntax & result for the CLI attempt from within /opt/local/libexec/nagios/:
Domain=[mydomain] OS=[Windows Server 2003 3790 Service Pack 2] Server=[Windows Server 2003 5.2]
Disk ok - 1.71G (85%) free on \\vrdc01.mydomain.local\Users
However when the plugin is called by nagios, I get a (null) result. I see nothing in the nagios.log file when I re-schedule and execute the command.
I’ve tried restarting the smb service on a couple of the target servers, just to make sure I’m not crazy.
I even tried the ostensibly updated check_disk_smb_spaces plugin from Nagios Exchange just to see if it might make a difference.
Thus far, I’m out of ideas.
Anyone have any thoughts about how to figure out the problem?
Thanks.
PJT