Issue executing Dell EMC monitoring Nagios plugin

Currently we’re trying to monitor one Dell EMC Unity 300 SAN with SNMP in Icinga2 using the python nagios plugin located in https://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/SAN-and-NAS/EMC-Unity/details. But when we tried to execute the plugin, the error message “execvpe(/usr/lib/nagios/plugins/check_unity.py) failed: No such file or directory” appear.

Can someone tell me how to fix this issue?

Thanks in advance.

1 Like

Hi,

please provide more details about your system. Which versions of Icinga are involved, how did you configure the check in the first place? Where should this plugin be executed, on the master or the client/agent? How does the error look like in the web interface, specifically the detail view? What’s the check source of this service check?

From a first glance, the check is executed at a node where this plugin isn’t accessible or executable or available. Please also share the output of icinga2 --version and ls -lah /usr/lib/nagios/plugins/check_unity.py.

Cheers,
Michael

Hi Michael,

Of course, I can give you more details about our system:

Our icinga2 and icingaweb2 versions are:

Icinga2: v.2.10.4-1
Icingaweb2: v.2.6.2.

We configured the check in services.conf in this way and the plugin shoud be executed on the master.

object Service “Hard disk status” {
import “generic-service”
host_name = “Unity”
check_command = “check_unity”
vars.host = “x.x.x.x”
vars.user = “user”
vars.passw = “password”
vars.type = “disk”
vars.notification[“mail”] = {
groups = [ “icingaadmins” ]
period = [ “24x7” ]
}
}

The error message which appear in web interface is:

Plugin Output

execvpe(/usr/lib/nagios/plugins/check_unity.py) failed: No such file or directory

Output for ls -lah /usr/lib/nagios/plugins/check_unity.py command is:

-rwxr-xr-x 1 root root 23K may 7 13:16 /usr/lib/nagios/plugins/check_unity.py

And finally output for icinga2 --version command is:

icinga2 - The Icinga 2 network monitoring daemon (version: r2.10.4-1)

Copyright © 2012-2019 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later http://gnu.org/licenses/gpl2.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

I hope all this info will be useful to help us with the issue.

is typical for executing a script on the wrong machine. As Michael already ask, what is the Check Source for your service?

1 Like