Page 1 of 3
No graphing for HPUX NRPE checks
Posted: Fri Mar 24, 2017 2:52 pm
by benhank
Hey guys, let me start by saying that my knowledge of NRPE and HPUX is magically deliciously small.
I have a few servers running hpux. with the following configurations:
Capture1.PNG
and
Capture2.PNG
they inherit config info from this service template:
Capture3.PNG
All of which are set up to process perfdata.
as I can only upload 3 attachments Ill continue in another post:
Re: No graphing for HPUX NRPE checks
Posted: Fri Mar 24, 2017 2:56 pm
by benhank
to continue:
here are two identical servers, one server is displaying perfdata, but the other doesn't:
Capture5.PNG
(on a side note the gauges arent displaying as well)
and
Capture6.PNG
.
here is my nrpe cfg file:
nrpe.cfg
How can I get the checks to display perfdata?"
Thanks guys!
Re: No graphing for HPUX NRPE checks
Posted: Mon Mar 27, 2017 9:22 am
by lmiltchev
Does the "HPUX disk usage" check on "EPICPROD.Healthone.org" host return perfdata? Click on the service under "Service Detail", go to the "Advanced" tab, and show us a screenshot of this page.
Also, click on the service under the CCM, then click on "Run Check Command" button under the "Common Settings" tab, and show us the output.
Re: No graphing for HPUX NRPE checks
Posted: Mon Mar 27, 2017 9:36 am
by benhank
here you go:
Capture10.PNG
Capture11.PNG
Re: No graphing for HPUX NRPE checks
Posted: Mon Mar 27, 2017 10:24 am
by lmiltchev
Not every plugin returns perfdata. It seems like yours doesn't.
example01.PNG
Some plugins have a flag that you need to pass in order to get the perfdata output. Are you using the same plugin on your production and failover servers?
Please check if:
1. You are using the same plugin on both servers
2. Your commands are defined in the same way (check nrpe.cfg and/or common.cfg files).
Re: No graphing for HPUX NRPE checks
Posted: Mon Mar 27, 2017 12:03 pm
by benhank
yup we are using the same plugin for both servers. the server checks are controlled with services and service templates that have been associated with the corresponding host-group.
so:
Service points to -->Hostgroup which contains ---Hosts.
What are the perfdata flags for HPUX related nrpe checks? Or Is there any reference info can you point me to that will help me understand what I may be missing?
Re: No graphing for HPUX NRPE checks
Posted: Mon Mar 27, 2017 12:15 pm
by scottwilkerson
benhank wrote:yup we are using the same plugin for both servers. the server checks are controlled with services and service templates that have been associated with the corresponding host-group.
so:
Service points to -->Hostgroup which contains ---Hosts.
What are the perfdata flags for HPUX related nrpe checks? Or Is there any reference info can you point me to that will help me understand what I may be missing?
Is the plugin exactly the same that is installed on the remote servers?
I know you are using check_nrpe for both, but they are running plugins on the remote side "check_hpux_disk" and one isn't returning performance data
Re: No graphing for HPUX NRPE checks
Posted: Mon Mar 27, 2017 12:16 pm
by lmiltchev
Can you upload the plugin that you are using on EPICPROD.Healthone.org on the forum or provide us with a download link?
Also, show us how the "check_hpux_disk" command is defined on the client (remote box).
Re: No graphing for HPUX NRPE checks
Posted: Mon Mar 27, 2017 2:45 pm
by benhank
My collegue told me that I uploaded the wrong NRPE.cfg file. I have included the correct on in the zip file, with all sensitive data scrubbed .
Re: No graphing for HPUX NRPE checks
Posted: Mon Mar 27, 2017 3:04 pm
by scottwilkerson
Ben,
We don't need to see the check_nrpe plugin, we need the following:
lmiltchev wrote:the plugin that you are using on EPICPROD.Healthone.org on the forum or provide us with a download link?
Also, show us how the "check_hpux_disk" command is defined on the client (remote box).
The command definition will be in the nrpe.cfg on EPICPROD.Healthone.org