EMC Wizard
EMC Wizard
Hi there,
I've got easy running the plugin, but now here is the result all checks are working properly except SPB Percentage, return code of 255 is out of bounds (see attachment).
I'm running R 2.4, lastest Plugin downloaded and latest EMC-CLI downloaded.
Any Idea on this, thanks for help
Andy
I've got easy running the plugin, but now here is the result all checks are working properly except SPB Percentage, return code of 255 is out of bounds (see attachment).
I'm running R 2.4, lastest Plugin downloaded and latest EMC-CLI downloaded.
Any Idea on this, thanks for help
Andy
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: EMC Wizard
Have you tried running this command from the command line to see if it gives you a little clearer error message?
It would be something like
It would be something like
Code: Select all
/usr/local/nagios/libexec/check_emc_clariion.pl -H <HOSTADDRESS> -u <USERNAME> -p <PASSWORD> -t sp_cbt_busy --sp B --warn <WARNING> --crit <CRITICAL>Re: EMC Wizard
Hi there,
it is very strange .....
I've tried to enter the command in a terminal, how you suggested, even with another subcommand which runs under Nagios Xi correctly.
In the terminal the commands just HANGS, no output and I had to stop them with ctrl.C
[nagios@chsismon1 libexec]$./check_emc_clariion.pl -H ......... -u nag.. -p mon... -t spc_cbt_busy --sp A --w 90 --c95
[nagios@chsismon1 libexec]$./check_emc_clariion.pl -H ........- -u nag.. -p mon... -t disk
Sorry no Idea her anymore ....
Andy
it is very strange .....
I've tried to enter the command in a terminal, how you suggested, even with another subcommand which runs under Nagios Xi correctly.
In the terminal the commands just HANGS, no output and I had to stop them with ctrl.C
[nagios@chsismon1 libexec]$./check_emc_clariion.pl -H ......... -u nag.. -p mon... -t spc_cbt_busy --sp A --w 90 --c95
[nagios@chsismon1 libexec]$./check_emc_clariion.pl -H ........- -u nag.. -p mon... -t disk
Sorry no Idea her anymore ....
Andy
Re: EMC Wizard
Try to run the command again from a command line and then run:
See if there is any useful info there that can point us to the right direction.
Code: Select all
tail /var/log/messagesBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: EMC Wizard
Hi there,
upfront I would like to inform you, that I'm in vacation till the 11th. of June. So please do not expect answers of me till then.
the message i've found in /var/log/messages is the following:
May 26 09:49:32 chsismon1 nagios: Warning: Return code of 255 for check of service 'EMC CLARiiON - SPA Percentage Busy' on host 'CX-380 SPA' was out of bounds.
This is the same I see within Nagios XI, but I'm really wondering why the other check's are running without problems in Nagios XI, but in a normal shell they hang.
Thanks and cu in 2 weeks
Andy
upfront I would like to inform you, that I'm in vacation till the 11th. of June. So please do not expect answers of me till then.
the message i've found in /var/log/messages is the following:
May 26 09:49:32 chsismon1 nagios: Warning: Return code of 255 for check of service 'EMC CLARiiON - SPA Percentage Busy' on host 'CX-380 SPA' was out of bounds.
This is the same I see within Nagios XI, but I'm really wondering why the other check's are running without problems in Nagios XI, but in a normal shell they hang.
Thanks and cu in 2 weeks
Andy
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: EMC Wizard
I would look at round line 113 I see
Can we make sure this is where the Navisphere clients live on the server
Code: Select all
$VERSION = '2011-07-04';
$NAVICLI = '/opt/Navisphere/bin/navicli';
$NAVISECCLI = '/opt/Navisphere/bin/naviseccli';Re: EMC Wizard
Hi scott,
i'm back, your are right there is missing a file navicli here:
[root@chsismon1 nagiosxi]# cd /opt/Navisphere/bin/
[root@chsismon1 bin]# ll
total 11552
-rwxrwxr-x 1 root root 371019 Feb 23 02:18 admsnap
-rwxrwxr-x 1 root root 11453503 Feb 23 02:18 naviseccli
[root@chsismon1 bin]#
I had downloaded the Navisphere directly from EMC and installed according the instructions.
So what may I do here?
Greets Andy
i'm back, your are right there is missing a file navicli here:
[root@chsismon1 nagiosxi]# cd /opt/Navisphere/bin/
[root@chsismon1 bin]# ll
total 11552
-rwxrwxr-x 1 root root 371019 Feb 23 02:18 admsnap
-rwxrwxr-x 1 root root 11453503 Feb 23 02:18 naviseccli
[root@chsismon1 bin]#
I had downloaded the Navisphere directly from EMC and installed according the instructions.
So what may I do here?
Greets Andy
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: EMC Wizard
Can you try
or
To see if you have that file somewhere else on your system
Code: Select all
locate navicliCode: Select all
find / -name navicliRe: EMC Wizard
Hi Scott,
i've looked for the file, it's NOT on the system, I downloaded the newest version of NaviSphere-CLI from EMC and reinstalled it -> no navicli.
After that i looked in the script check_emc_clariion.pl and could see that the navicli is only used, when you do not provide a username and a password, e.g. unsecure connection.
On all checks specifically the sp_cbt_busy I have provided username and password, so the script should user securce mode witch means the program naviseccli
So normally the missing navicli program should not harm.
If I run the perlscript check_emc_clariion.pl directly in a shell no matter with wich checktype no answer is coming back as you have see before.
In the meantime the version of NagiosXi is on the latest level 3.1
i've looked for the file, it's NOT on the system, I downloaded the newest version of NaviSphere-CLI from EMC and reinstalled it -> no navicli.
After that i looked in the script check_emc_clariion.pl and could see that the navicli is only used, when you do not provide a username and a password, e.g. unsecure connection.
Code: Select all
# check if user and password for Naviseccli is given
# If it is providen, then it passes in secure mode for the command to the array.
# else we are staying in navicli mode
if ( $opt_user && $opt_password ) {
$secure = 1;
}
So normally the missing navicli program should not harm.
If I run the perlscript check_emc_clariion.pl directly in a shell no matter with wich checktype no answer is coming back as you have see before.
In the meantime the version of NagiosXi is on the latest level 3.1
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: EMC Wizard
Have you verified that there isn't a firewall or anything blocking the connection?
I'm not totally familiar with this plugin as we don't have an EMC Clariion system to test against
I'm not totally familiar with this plugin as we don't have an EMC Clariion system to test against