cancel
Showing results for 
Search instead for 
Did you mean: 

Setting up munin node on hp-ux

Court Campbell
Honored Contributor

Setting up munin node on hp-ux

Ralph Grothe -- If you are out there I could use your help getting munin node installed and setup on hpux. Otherwise, If anyone has done this, any pointers would be appreciated. I have tried installing from source, but keep getting Makefile issues.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
12 REPLIES
Mw_6
Occasional Advisor

Re: Setting up munin node on hp-ux

I would also like to get Munin-node working on HP-UX. But so far not having much luck with it on HP-UX.
Does anyone have a HP-UX munin depot for a HP rx6600 system?

Thanks.
Mike White
Lizardo Desilos
Occasional Advisor

Re: Setting up munin node on hp-ux

You will need to install gmake for having a working munin node or server, there are somes depots about gmake on the web,

I'm having problems to graph, but the installation was ok

Greetings
Court Campbell
Honored Contributor

Re: Setting up munin node on hp-ux

I have gmake installed. I get errors with both make and gmake. I tried building munin 1.2.6. I get the following error from make:

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

And this from gmake:

/bin/sh: Syntax error at line 30 : `)' is not expected.
gmake: *** [build-stamp] Error 2

Same issue either way. I have tried rummaging through the make file, but I have not had time to figure it out.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Lizardo Desilos
Occasional Advisor

Re: Setting up munin node on hp-ux

You only need to make a:

gmake install-node install-node-plugins

after editing Makefile.config, for HP-UX you need to add this lines:

# For HP-UX, comment out the corresponding two lines above and comment in these

CHECKUSER = $(shell pwget -n $(USER) >/dev/null 2>/dev/null (echo "echo User $(USER) nonexistant. Create the user and retry;
exit 2"))

CHECKGROUP = $(shell grget -n $(GROUP) >/dev/null 2>/dev/null (echo "echo Group $(GROUP) nonexistant. Create the group and re
try; exit 2"))

greetings,
Dennis Handly
Acclaimed Contributor

Re: Setting up munin node on hp-ux

>I get the following error from make:
sh: Syntax error at line 30 : `)' is not expected.
>I have tried rummaging through the makefile, but I have not had time to figure it out.

You need to figure out which build rule has that problem. Which would have >= 30 lines?

I suppose you could replace $SHELL by a script that invokes sh with -x?
Mw_6
Occasional Advisor

Re: Setting up munin node on hp-ux

Okay I got it to compile (thanks the above suggests helped). Now I'm trying to get munin-node working - its listening on port 4949 but I'm not getting any data.
Anyone have a munin plugin that's working for HP-UX?
Court Campbell
Honored Contributor

Re: Setting up munin node on hp-ux

It still doesn't work.

gmake install-node install-node-plugins

/bin/sh: Syntax error at line 30 : `)' is not expected.
gmake: *** [build-stamp] Error 2

I had already tried that back when I first started this thread. The error seems to be in the build-stamp portion of the make file. I just need to look at it.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Lizardo Desilos
Occasional Advisor

Re: Setting up munin node on hp-ux

Court: You can try with a new sources, I attach my Makefile.config, I wish it helps

Mw: the standar df plugin works for me, but my munin server dont graph the data, maybe you can search where is the problem in the munin-node.log

Greetings,
Lizardo Desilos
Occasional Advisor

Re: Setting up munin node on hp-ux

Doh!

Finally I have a working df plugin, the problem was on the restriction in munin-node.conf,

you will need to add a host for get the report, by default its only restricted to localhost (127.0.0.1)

allow ^X\.X\.X\.X$

Now my df plugins it graph!

Greetings
Mw_6
Occasional Advisor

Re: Setting up munin node on hp-ux

Thanks Lizardo,

I found I wasn't allowing munin to connect to the node. Once I corrected that I'm starting to get some data and its graphing.

But I get lots of these in the munin-node.log.

awk: Cannot find or open file /proc/mounts.

I think it's coming from the df plugin but I don't see anything about /proc in that script.
(yes I know hpux doesn't have /proc)
Lizardo Desilos
Occasional Advisor

Re: Setting up munin node on hp-ux

Nice! and if you want to get CPU, Memory, Networking and another good graphs you can search here:

http://munin.projects.linpro.no/browser/trunk/node/node.d.hp-ux?rev=1623

There are only for HP-UX

Greetings,
Mw_6
Occasional Advisor

Re: Setting up munin node on hp-ux

Thanks for the links of HP-UX plugins. I've not had a chance to try and work with any of them yet.