Page 4 of 4
Re: EMC monitoring using check_emc_clariion.pl
Posted: Mon Jun 02, 2014 2:21 pm
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
Re: EMC monitoring using check_emc_clariion.pl
Posted: Tue Jun 03, 2014 2:14 am
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

Re: EMC monitoring using check_emc_clariion.pl
Posted: Tue Jun 03, 2014 1:09 pm
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.
Re: EMC monitoring using check_emc_clariion.pl
Posted: Tue Jun 03, 2014 3:55 pm
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
Re: EMC monitoring using check_emc_clariion.pl
Posted: Thu Jun 05, 2014 1:35 am
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
Re: EMC monitoring using check_emc_clariion.pl
Posted: Thu Jun 05, 2014 2:14 am
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.
Re: EMC monitoring using check_emc_clariion.pl
Posted: Mon Jun 09, 2014 3:36 am
by lannister
Hi ,
Thanks Box293 !!
Still looking out for help on snmp issue.
Kindly help for the same.
Thanks
Lan
Re: EMC monitoring using check_emc_clariion.pl
Posted: Mon Jun 09, 2014 3:37 pm
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.