No graphing for HPUX NRPE checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

No graphing for HPUX NRPE checks

Post 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:
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: No graphing for HPUX NRPE checks

Post 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!
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: No graphing for HPUX NRPE checks

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: No graphing for HPUX NRPE checks

Post by benhank »

here you go:
Capture10.PNG
Capture11.PNG
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: No graphing for HPUX NRPE checks

Post 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).
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: No graphing for HPUX NRPE checks

Post 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?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No graphing for HPUX NRPE checks

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: No graphing for HPUX NRPE checks

Post 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).
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: No graphing for HPUX NRPE checks

Post 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 .
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No graphing for HPUX NRPE checks

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked