Issue on HP-UX 10.20 plugin configuration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Issue on HP-UX 10.20 plugin configuration

Post by jdalrymple »

Can you verify that automake is installed on your system?

If it is, you may have to add the path to automake to your PATH environmental variable.
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Re: Issue on HP-UX 10.20 plugin configuration

Post by jyoti22 »

[root@pccdcaus nagios-plugins-release-2.1.1]# which automake1.11
/usr/bin/which: no automake1.11 in (/usr/bin:/opt/IBMJava2-131/bin:/opt/IBMJava2-131/jre/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/uni/atech/services/bin:/usr/uni/atech/services/tools:/usr/uni/atech/agents/bin:/root/bin:/root/usr/bin/automake:/root/usr/bin)

[root@pccdcaus nagios-plugins-release-2.1.1]# cd /usr/bin
[root@pccdcaus bin]# ls automake
automake

[root@pccdcaus nagios-plugins-release-2.1.1]# echo $PATH
/usr/bin:/opt/IBMJava2-131/bin:/opt/IBMJava2-131/jre/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/uni/atech/services/bin:/usr/uni/atech/services/tools:/usr/uni/atech/agents/bin:/root/bin:/root/usr/bin/automake:/root/usr/bin
[root@pccdcaus nagios-plugins-release-2.1.1]# make
cd . && automake-1.11 --gnu
/bin/sh: automake-1.11: command not found
make: *** [Makefile.in] Error 1
[root@pccdcaus nagios-plugins-release-2.1.1]#
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Issue on HP-UX 10.20 plugin configuration

Post by tgriep »

Can you post your Makefile from that folder so we can review it?
Can you run the following and post back the results?

Code: Select all

which automake
Be sure to check out our Knowledgebase for helpful articles and solutions!
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Re: Issue on HP-UX 10.20 plugin configuration

Post by jyoti22 »

Please find attached Makefile and output of which command :

[root@xxxx nagios-plugins-2.1.1]# which automake
/usr/bin/automake
[root@xxxx nagios-plugins-2.1.1]#
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Issue on HP-UX 10.20 plugin configuration

Post by tmcdonald »

At this point I am going to have to ask that we wait until @tgriep is back in the office, which should be tomorrow. Truthfully HP-UX is one of the "gray area" systems in terms of support, though Tom seemed to have an idea of what is going on. If you don't hear back by tomorrow mid-day (Central) feel free to post back asking for an update.
Former Nagios employee
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Issue on HP-UX 10.20 plugin configuration

Post by tgriep »

Edit your Makefile and change this line from

Code: Select all

AUTOMAKE = ${SHELL} /tmp/nagios-plugins-2.1.1/build-aux/missing --run automake-1
to

Code: Select all

AUTOMAKE = ${SHELL} /tmp/nagios-plugins-2.1.1/build-aux/missing --run automake
Then try running make again to see if they compile.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Re: Issue on HP-UX 10.20 plugin configuration

Post by jyoti22 »

Make file changes wont work. I suggested client to upgrade the OS to Linux. We can close this post...
Locked