Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
If you can run ./check_tacacs_plus.pl without any perl errors, that should be enough. If you were running this plugin on some rare Linux build and it couldn't find Perl modules, then you'd need to manually import the path the library.
Now, as far as the connection error you're getting. We're not the developers of this plugin but based on the source code you can a)increase the timeout b)run it with a verbose flag. You can try something like this:
@majed, My thought right now is that this plugin was built to use an outdated version of /usr/local/lib64/perl5/Authen/TacacsPlus.pm. Perhaps something has changed in modern perl syntax and it has trouble reading that module.
thank you for the new information, i added the nagios ip to the tacacs server and the plugin immediately worked.
In nagios, it nagged about utils.pm not present, duckducked the error and it turns out the lib path must point to the utils.pm folder which must be in the plugin directory.
so i had to edit the script as follows:
majed wrote:i added the nagios ip to the tacacs server and the plugin immediately worked.
Are you saying the issue is resolved?
As for the question about what you want to check, actually, we don't know what info you want. We know you want some sort of information from a tacas server. What information? Just whether the tacas is running or not or some sort of metric?