EMC monitoring using check_emc_clariion.pl

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: EMC monitoring using check_emc_clariion.pl

Post by sreinhardt »

Yes that output from the snmptt install script is correct. Have you added mibs and processed traps for them? Have you taken a look at Admin->Unconfigured objects for traps that are coming in, but not matching a host\service name? You can also try tailing the snmptt.log and snmpttunknown.log like so:

Code: Select all

tail -n 20 /va/log/snmptt/snmptt.log
tail -n 20 /var/log/snmptt/snmpttunknown.log
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
lannister
Posts: 28
Joined: Mon Apr 28, 2014 4:49 am

Re: EMC monitoring using check_emc_clariion.pl

Post by lannister »

I tried replacing the wizard but now its not even taking the old wizard.
Can i just replace the .pl file from the old wizard with the new update that has been provided.

Will that logic work ?

The command used is as follows -: check_emc_clariion.pl -H (emcip) -u readonly -p (AStrongPassword) -t storage_pool --(storage_pool_id 33) --warn 80 --crit 90( the ones in bracket I input those values.



Smnp issue -:
And I have also checked for Admin unconfigured objects , it says no unconfigured objects.
When i did tail the out put i got is as follows -: 05:53:47 2014 .1.3.6.1.4.1.1981.0.3 Normal "Status Events" 1**.**.***.** - An Informational EventMonitorTrap is generated in SPB 2002 This confirms that events will be sent from the storage system to the destination you specified. N/A

I downloaded a MIB for clarion and installed it on nagios but im supposing MIB are supposed to be installed on Storage ?

Sorry for confusing all of you .

Confused Lan :)
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: EMC monitoring using check_emc_clariion.pl

Post by sreinhardt »

When i did tail the out put i got is as follows -: 05:53:47 2014 .1.3.6.1.4.1.1981.0.3 Normal "Status Events" 1**.**.***.** - An Informational EventMonitorTrap is generated in SPB 2002 This confirms that events will be sent from the storage system to the destination you specified. N/A
Unfortunately I cannot say, as you did not specify the log file that generated that output. Please run the commands and output the results to here, so that we may understand what is happening.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: EMC monitoring using check_emc_clariion.pl

Post by Box293 »

lannister wrote:I tried replacing the wizard but now its not even taking the old wizard.
Can i just replace the .pl file from the old wizard with the new update that has been provided.
Once the wizard has been uploaded you don't need to upload it again. Lets just start fresh, do the following:
  • Admin > Manage Config Wizards
    Delete the existing wizard by using the X in the actions column
    Upload the wizard again, this is the .zip file downloaded from the Nagios Exchange
    Admin > Manage Plugins
    Delete the existing plugin by using the X in the actions column
    Upload the plugin again, this is the .pl file extracted from the .zip file downloaded from the Nagios Exchange
Now to test the plugin using the command you suggested:

Code: Select all

cd /usr/local/nagios/libexec
./check_emc_clariion.pl -H (emcip) -u readonly -p (AStrongPassword) -t storage_pool --storage_pool_id 33 --warn 80 --crit 90
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
lannister
Posts: 28
Joined: Mon Apr 28, 2014 4:49 am

Re: EMC monitoring using check_emc_clariion.pl

Post by lannister »

[root@localhost ~]# tail -n 20 /var/log/snmptt/snmpttsystem.log
Mon Jun 2 04:15:52 2014 SNMPTT v1.4beta2 started
Mon Jun 2 04:15:52 2014 Loading /etc/snmp/snmptt.conf
Mon Jun 2 04:15:52 2014 Finished loading 64 lines from /etc/snmp/snmptt.conf
Mon Jun 2 04:15:52 2014 Changing to UID: snmptt (497)
Mon Jun 2 05:37:53 2014 SNMPTT v1.4beta2 started
Mon Jun 2 05:37:54 2014 Loading /usr/share/snmp/mibs/processed_mibs/clariion.txt
Mon Jun 2 05:37:54 2014 Finished loading 85 lines from /usr/share/snmp/mibs/processed_mibs/clariion.txt
Mon Jun 2 05:37:54 2014 Loading /etc/snmp/snmptt.conf
Mon Jun 2 05:37:54 2014 Finished loading 64 lines from /etc/snmp/snmptt.conf
Mon Jun 2 05:37:54 2014 Changing to UID: snmptt (497)
[root@localhost ~]# tail -n 20 /var/log/snmptt/snmptt.log
Mon Jun 2 05:53:47 2014 .1.3.6.1.4.1.1981.0.3 Normal "Status Events" 1xx.xx.xx - An Informational EventMonitorTrap is generated in SPB 2002 This confirms that events will be sent from the storage system to the destination you specified. N/A
Mon Jun 2 05:54:02 2014 .1.3.6.1.4.1.1981.0.3 Normal "Status Events" 1xx.xx.xx - An Informational EventMonitorTrap is generated in SPB 2002 This confirms that events will be sent from the storage sys

Please find the output of the both the commands that you have mentioned.





I extracted the .pl file and then executed the command stated by -:
[root@localhost libexec]# ./check_emc_clariion.pl -H 1**.**.**.** -u readonly -p password -t storage_pool --storage_pool_id 33 --warn 80 --crit 90

Error returned from the target: 1**.**.**.**


- Lan
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: EMC monitoring using check_emc_clariion.pl

Post by Box293 »

We'll take diagnosing the plugin issue offline.

Send an email to [email protected] and I'll send you some commands to try so we can work out what is going on with the plugin and the SAN.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
lannister
Posts: 28
Joined: Mon Apr 28, 2014 4:49 am

Re: EMC monitoring using check_emc_clariion.pl

Post by lannister »

Hi ,


Thanks Box293 !!

Still looking out for help on snmp issue.
Kindly help for the same.


Thanks
Lan
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: EMC monitoring using check_emc_clariion.pl

Post by sreinhardt »

Since you and box are working offline via email, I would request that you open a new thread specific to the snmp issue you are presently facing. This way we both don't have to figure out what is relevant to the issue at hand. thanks.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked