Operating System - HP-UX
1834142 Members
1974 Online
110064 Solutions
New Discussion

sap lgtst status via snmp

 
William Watson_1
Occasional Contributor

sap lgtst status via snmp

Hi,
I need to execute via snmp a sap utility called lgtst and get its return code.

I was told that the default snmp installation on hpux can not do this and that I would need net-snmp or some other extensible agent.

My problem is that I do not know if I should de-install the existing snmp daemon and then install net-snmp or if I should try to set up net-snmp as a subagent.

Can someone provide some guidance or perhaps a good howto on getting return codes from a script via snmp. I have read the man pages and googled extensively with little success. I looked for a user manual on "emanate" but can't seem to find one.

Many Thanks,
William

3 REPLIES 3
Glenn S. Davidson
Trusted Contributor

Re: sap lgtst status via snmp

I don't know if you got this figured out but I have converted a bunch of SNMP notification scripts over to default OVO OSSPI notifications. Looks like they had a series of cron entries running different scripts to check the 'health' of specific things on the servers then were running a 'notification' type script to report what was discovered back to the OVO server via NNM.

This whole methodology is backwards given the tools they had but I think they wrote some interesting scripts. I can email them to you if you want to see how they did it. If I understand what you are trying to do they might give you a starting point.
Conformity Destroys a mans initiative and independence. It supresses his powerful inner drive to do his own thing.
William Watson_1
Occasional Contributor

Re: sap lgtst status via snmp

Hi Glen,

Yes, it might be a starting point. You can email them to me at;

william.watson@nospamvector-informatik.de

PS take out the nospam from the address

Thanks for the help.
William
Ralph Grothe
Honored Contributor

Re: sap lgtst status via snmp

Hi William,

you probably have already come across it.
Even HP offer their port for the extensible net-snmp agent as part of their Internet Express collection.

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111

I don't know how well it integrates with the OS's standard snmp agent(s).
But I would assume that net-snmp can co-exist with them.

Sorry, all I monitor SNMP-wise so far are a view environment sensors distributed in our data center by some self-made Perl plugins for my Nagios server which runs on a Linux RHEL5 box where net-snmp is the de-facto agent.
At least on Linux net-snmp integration (for my few humble applications) works great.
Madness, thy name is system administration