1832999 Members
2286 Online
110048 Solutions
New Discussion

Re: EMS and errors

 
Chris Fadrowski
Super Advisor

EMS and errors

root@Hostname:/etc/opt/resmon/lbin>/etc/opt/resmon/lbin/send_test_event disk_em

resls: Did not receive a Subclass Reply from the Registrar
/etc/opt/resmon/lbin/send_test_event: Failed to perform resls on resource
name /storage/events/disks/default for disk_em
to cause generation of test event.
System call failed with return value 256.

THIS IS THE ERROR I GET WHEN TRYING TO SEND A TEST EVENT USING EMS. I LOADED
THE LATEST VERSION OF EMS (3.20). THE ONLY THING I CAN THINK OF IS SNMP. I
CAN'T START SNMPD DOING /ETC/INIT.D/SNMPD IT SAYS IT CAN'T BE FOUND.
6 REPLIES 6
Sridhar Bhaskarla
Honored Contributor

Re: EMS and errors

Hi,

Run monconfig (in the same path) and see if you have EMS MONITORING in ENABLED state. If not, enable it using "E" in the same menu.

snmpd is to be started from /sbin/init.d/ not /etc.

However, you won't find the script snmpd. There are multiple scripts for the subagents of Snmp. The master agent is SnmpMaster.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
Chris Fadrowski
Super Advisor

Re: EMS and errors

i meant /sbin/init.d (not /etc) sorry about that.

it can't find snmpd when i try to start it. I imagine that could be an issue.

EMS is enabled. i used monconfig
Sridhar Bhaskarla
Honored Contributor

Re: EMS and errors

Hi,

Do ll /sbin/init.d/Snmp* and you will find the scripts related to Snmp Subagents. But I don't think that is the problem.

Do you have disagnostics running?.

Try restarting diagnostics

/sbin/init.d/diagnostics stop
/sbin/init.d/diagnostics start

See if there are no errors.

-Sri




You may be disappointed if you fail, but you are doomed if you don't try
Sridhar Bhaskarla
Honored Contributor

Re: EMS and errors

A small correction. Sorry..

It should be

/sbin/init.d/diagnostic

I always do it and get "no such file or directory" error :-).

The process to look for is diagmond.

ps -ef|grep diagmond

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Chris Fadrowski
Super Advisor

Re: EMS and errors

diagmond is running when i grep for it.
Sridhar Bhaskarla
Honored Contributor

Re: EMS and errors

Then, the only possibility is snmpdm. Is it running?. If not, then start it using /sbin/init.d/SnmpMaster start followed by SnmpHpunix and SnmpMib2.

Also restart your diagnostics and see if it works.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try