Re: No graphing for HPUX NRPE checks
Posted: Tue Mar 28, 2017 1:17 pm
ok sorry
The zip file didnt have the nrpe cfg here it is.
The zip file didnt have the nrpe cfg here it is.
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
/opt/nrpe/libexec/check_disk -V
/opt/nrpe/libexec/check_disk -w 5% -c 2%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.14Code: Select all
rrdtool info /usr/local/nagios/share/perfdata/HOSTNAME/SERVICENAME.rrdCode: Select all
cd /usr/local/nagios/share/perfdata/HOSTNAME
mv SERVICENAME.rrd SERVICENAME.rrd.old
mv SERVICENAME.xml SERVICENAME.xml.old