Operating System - HP-UX
1748163 Members
3806 Online
108758 Solutions
New Discussion юеВ

Re: net-snmp 5.6.1.1 on HP-UX B.11.23 U ia64

 

net-snmp 5.6.1.1 on HP-UX B.11.23 U ia64

Hello Experts,

In order to acheive "Cpu and memory utilisation reports on orion" I have installed net-snmp. i have downloaded and followed the installation instructions. after executing the step "make install" the below error occured.

sh: Syntax error at line 1 : `;' is not expected.
*** Error exit code 2

Stop.
*** Error exit code 1

Stop.

Any suggestions on what went wrong.detailed log attached.
9 REPLIES 9
Dennis Handly
Acclaimed Contributor

Re: net-snmp 5.6.1.1 on HP-UX B.11.23 U ia64

You are going to have to debug your makefile. The error message leaves no clue to the bad line or file.

I suppose you could use tusc to see what file was being read when it died.

For makefile lines that start with "@", you could remove that so you can trace better.

I suppose you could also pass "-d" to make.

Re: net-snmp 5.6.1.1 on HP-UX B.11.23 U ia64

Hi Dennis,

thanks for you quick response.
Request you to help with the synatx you have suggested please.
many thanks in advance.


Re: net-snmp 5.6.1.1 on HP-UX B.11.23 U ia64

Do you *have* to be on 5.6.1.1?

Because there is a compiled version of net-snmp 5.5 on the HP-UX Internet Express bundle available here:

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123

Might save you some trouble...

HTH

Duncan

I am an HPE Employee
Accept or Kudo

Re: net-snmp 5.6.1.1 on HP-UX B.11.23 U ia64

Dear Duncan,

No necessarly the latest version. as long as the objective to see the cpu and memory alerts is acheived. let me remove this and try the link.
many thanks

Re: net-snmp 5.6.1.1 on HP-UX B.11.23 U ia64

I have seen some threads stating that the alerts can be done via EMS using SAM.

However, if i proceed with Net-snmp of HP-UX internet express, how do i proceed further. Has anyone successfuly monitored (CPU,Memory)
through Orion,using net-snmp?

Please advise
Dennis Handly
Acclaimed Contributor

Re: net-snmp 5.6.1.1 on HP-UX B.11.23 U ia64

>Request you to help with the syntax you have suggested please.

Just add the "-d" option to your make line. And be prepared for massive output.

Re: net-snmp 5.6.1.1 on HP-UX B.11.23 U ia64

Hi Dennis,

There is a make test option, after executing the make command and before executing make install.

I have used the make test and managed to identify the two scripts which are failing.

Attached complete session output. at the end of the attachement you can see two failed scripts. if they fixed i think the make install will be successful.
any thoughts would be highly appreciated.
I have mailed net-snmp-users ..no responses so far.

Many thanks in advance.

Dennis Handly
Acclaimed Contributor

Re: net-snmp 5.6.1.1 on HP-UX B.11.23 U ia64

>if they fixed I think the make install will be successful.

I wouldn't think a test failure would stop the install. You need to look at the install errors.

Have you looked into the test log?
not ok 30 - found 0 copies of '<"c408a"' in output (/tmp/snmp-test-T070com2sec_simple-14922/snmpd.log); expected 1
# Outputfile: /tmp/snmp-test-T070com2sec_simple-14922/snmpd.log
not ok 32 - found 0 copies of '<"c408b"' in output (/tmp/snmp-test-T070com2sec_simple-14922/snmpd.log); expected 1
# Outputfile: /tmp/snmp-test-T070com2sec_simple-14922/snmpd.log

And here:
not ok 3 - found 0 copies of 'No more variables left in this MIB View' in output (/tmp/snmp-test-T200snmpv2cwalkall_simple-17173/output-simple_run17173-1); expected 1
# Outputfile: /tmp/snmp-test-T200snmpv2cwalkall_simple-17173/output-simple_run17173-1

Re: net-snmp 5.6.1.1 on HP-UX B.11.23 U ia64

Hi dennis,

I have not received any response from net-snmp-users sp far. I am planning to send the same to net-snmp-coders this time.

secondly, I did go through the log but couldn'e really get what needs to be done.
quite new to snmp/poller/MIB stuff.