Page 2 of 3

Re: No graphing for HPUX NRPE checks

Posted: Tue Mar 28, 2017 1:17 pm
by benhank
ok sorry

The zip file didnt have the nrpe cfg here it is.

Re: No graphing for HPUX NRPE checks

Posted: Tue Mar 28, 2017 2:59 pm
by scottwilkerson
Ok, now, can you run the following on both of that machines (the one with performance data and the one without) and send the results back

Code: Select all

/opt/nrpe/libexec/check_disk -V
/opt/nrpe/libexec/check_disk -w 5% -c 2%

Re: No graphing for HPUX NRPE checks

Posted: Tue Mar 28, 2017 3:20 pm
by benhank
Will do, but im going to have to do it tomorrow as the sys admins for those servers have left for the day.

Re: No graphing for HPUX NRPE checks

Posted: Tue Mar 28, 2017 3:24 pm
by scottwilkerson
No problem, let us know when you get the data back.

Re: No graphing for HPUX NRPE checks

Posted: Thu May 04, 2017 1:19 pm
by benhank
Hey sorry for the delay.
It seems that some of the hpux servers are running something called HP Secureguard. It's not run on all of them and may be causing the issue. Have you guys ever heard of it?

Re: No graphing for HPUX NRPE checks

Posted: Thu May 04, 2017 4:28 pm
by tgriep
I don't think the HP Secureguard software is just blocking off the performance data output for the plugin.
Have you had the chance to run the commands on both servers like @scottwilkerson suggested?

Re: No graphing for HPUX NRPE checks

Posted: Mon May 08, 2017 11:59 am
by benhank
No I haven't.Those servers are VERY touchy. Once I blackmail or bribe the right ppl I'll run them and post them here.

Re: No graphing for HPUX NRPE checks

Posted: Mon May 08, 2017 12:16 pm
by dwhitfield
HP is keeping sysadmins employed, I guess. :)

Let us know once you have the output.

Re: No graphing for HPUX NRPE checks

Posted: Thu May 25, 2017 4:40 pm
by benhank
hey fellas, i have what you asked for

Code: Select all

[[email protected] ~]$ /usr/local/nagios/libexec/check_nrpe -H EPICFAILOVER -t 30 -c check_hpux_disk  -n -a 5% 2%
DISK OK - free space: / 3640 MB (89% inode=87%); /stand 5547 MB (90% inode=99%); /var 7075 MB (69% inode=80%); /var/adm/crash 60480 MB (98% inode=99%); /usr 13035 MB (42% inode=88%); /universe 1108 MB (44% inode=82%); /tsg 52308 MB (34% inode=99%); /tmp 4269 MB (83% inode=72%); /scratch 17230 MB (44% inode=99%); /psgprod 2370 MB (98% inode=99%); /opt 5194 MB (42% inode=67%); /home 2146 MB (14% inode=75%); /epic 27319 MB (94% inode=99%); /epic/scratch 12017 MB (61% inode=99%); /epic/resolute 46602 MB (67% inode=99%); /epic/report 872 MB (90% inode=99%); /epic/emt 3163 MB (20% inode=90%); /epic/clarity 27412 MB (94% inode=99%); /epic/H1 12744 MB (21% inode=95%);| /=427MB;3891;4014;0;4096 /stand=553MB;5836;6021;0;6144 /var=3121MB;9728;10035;0;10240 /var/adm/crash=1023MB;62259;64225;0;65536 /usr=17581MB;29184;30105;0;30720 /universe=1377MB;2432;2508;0;2560 /tsg=97805MB;145920;150528;0;153600 /tmp=830MB;4864;5017;0;5120 /scratch=21620MB;38000;39200;0;40000 /psgprod=31MB;2432;2508;0;2560 /opt=7052MB;11673;12042;0;

[[email protected] ~]$ /usr/local/nagios/libexec/check_nrpe -H EPICFAILOVER -t 30 -c check_hpux_disk  -n -V

NRPE Plugin for Nagios
Copyright (c) 1999-2008 Ethan Galstad ([email protected])
Version: 2.14
Last Modified: 12-21-2012
License: GPL v2 with exemptions (-l for more info)
SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required

[[email protected] ~]$ /usr/local/nagios/libexec/check_nrpe -H EPICPROD -t 30 -c check_hpux_disk  -n -a 5% 2%
DISK OK - free space: / 2490 MB (61% inode=78%); /stand 5547 MB (90% inode=99%); /var 2316 MB (22% inode=90%); /var/adm/crash 49035 MB (78% inode=99%); /usr 11958 MB (39% inode=87%); /universe 1275 MB (51% inode=88%); /tsg 69321 MB (46% inode=99%); /tmp 3220 MB (63% inode=71%); /scratch 8643 MB (21% inode=99%); /psgprod 2370 MB (98% inode=99%); /opt 5376 MB (43% inode=68%); /home 2738 MB (19% inode=91%); /epic 42295 MB (87% inode=99%); /epic/scratch 4056 MB (20% inode=98%); /epic/resolute 44054 MB (64% inode=99%); /epic/report 801 MB (82% inode=98%); /epic/emt 5014 MB (22% inode=93%); /epic/clarity 22170 MB (75% inode=99%); /epic/H1 62283 MB (57% inode=97%); /epic/prd 26232 MB (66% inode=99%); /epic/journal 1120189 MB (56% inode=99%); /epic/altjournal 962238 MB (99% inode=99%); /epic/prd01 145545 MB (17% inode=99%); /epic/prd02 208087 MB (18% inode=99%); /epic/prd03 361902 MB (14% inode=99%); /epic/prd04 262244 MB (14% inode=99%); /epic/prd05 203252 MB (14% inode=99%); /epic/prd06 141236 MB (14% inode=99%);


[email protected] ~]$ /usr/local/nagios/libexec/check_nrpe -H EPICPROD -t 30 -c check_hpux_disk  -n -V

NRPE Plugin for Nagios
Copyright (c) 1999-2008 Ethan Galstad ([email protected])
Version: 2.14

Re: No graphing for HPUX NRPE checks

Posted: Thu May 25, 2017 4:56 pm
by ssax
Are the number of disks listed dynamic? They need to be the same number ever time for it to work.

Please send us the full output of this command:

Code: Select all

rrdtool info /usr/local/nagios/share/perfdata/HOSTNAME/SERVICENAME.rrd
Then try moving the file and let the RRD rebuild and see if it starts graphing (wait 20 minutes before checking):

Code: Select all

cd /usr/local/nagios/share/perfdata/HOSTNAME
mv SERVICENAME.rrd SERVICENAME.rrd.old
mv SERVICENAME.xml SERVICENAME.xml.old
Thank you