Search found 10 matches

by apostolisep3
Tue Mar 07, 2017 2:47 am
Forum: Open Source Nagios Projects
Topic: nrpe check_disk help
Replies: 19
Views: 16045

Re: nrpe check_disk help

i added the command to the specific nrpe.cfg and everything worked like a charm.
thank you guys :)
by apostolisep3
Mon Mar 06, 2017 5:01 am
Forum: Open Source Nagios Projects
Topic: nrpe check_disk help
Replies: 19
Views: 16045

Re: nrpe check_disk help

[root@drsrv-telix01 ~]# cat /etc/nagios/nrpe.cfg ############################################################################# # Sample NRPE Config File # Written by: Ethan Galstad (nagios@nagios.org) # # Last Modified: 11-23-2007 # # NOTES: # This is a sample configuration file for the NRPE daemon...
by apostolisep3
Fri Mar 03, 2017 9:56 am
Forum: Open Source Nagios Projects
Topic: nrpe check_disk help
Replies: 19
Views: 16045

Re: nrpe check_disk help

i prefer standalone...
so if i remove the xinetd service or stop it will be ok?
by apostolisep3
Fri Mar 03, 2017 4:23 am
Forum: Open Source Nagios Projects
Topic: nrpe check_disk help
Replies: 19
Views: 16045

Re: nrpe check_disk help

[root@drsrv-telix01 ~]# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000 link/ether 00:50:56:88:5b:1c brd f...
by apostolisep3
Thu Mar 02, 2017 1:28 am
Forum: Open Source Nagios Projects
Topic: nrpe check_disk help
Replies: 19
Views: 16045

Re: nrpe check_disk help

i tried 3 commands root@nagios:/usr/local/nagios/etc# /usr/local/nagios/libexec/check_nrpe -H 10.50.0.51 -c check_sdb1 NRPE: Command 'check_sdb1' not defined root@nagios:/usr/local/nagios/etc# /usr/local/nagios/libexec/check_nrpe -H 10.50.0.51 -c check_sda1 NRPE: Command 'check_sda1' not defined roo...
by apostolisep3
Wed Mar 01, 2017 4:14 am
Forum: Open Source Nagios Projects
Topic: nrpe check_disk help
Replies: 19
Views: 16045

Re: nrpe check_disk help

ok i changed the dont_blame_nrpe to 1 and uncommented the user difined commands and also created the command (i think it ok) i am sharing the nrpe.cfg file [root@drsrv-telix01 ~]# cat /usr/local/nagios/etc/nrpe.cfg ############################################################################# # Sampl...
by apostolisep3
Tue Feb 28, 2017 2:34 am
Forum: Open Source Nagios Projects
Topic: nrpe check_disk help
Replies: 19
Views: 16045

Re: nrpe check_disk help

the version is Nagios® Core™ 4.0.7 and the command (if i get you well) is define service{ use generic-service host_name drsrv-telix01 service_description Root Partition check_command check_nrpe!check_disk\!20%\!10%\!/ } if i put this command i get the output correctly but only from the root partitio...
by apostolisep3
Fri Feb 24, 2017 3:35 pm
Forum: Open Source Nagios Projects
Topic: nrpe check_disk help
Replies: 19
Views: 16045

Re: nrpe check_disk help

Hi mcarpa here you are [root@drsrv-telix01 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_drsrvtelix01-lv_root 45G 15G 29G 34% / tmpfs 2.0G 4.0K 2.0G 1% /dev/shm /dev/sda1 477M 48M 404M 11% /boot /dev/sdb1 394G 248G 126G 67% /data [root@drsrv-telix01 ~]# /usr/lib/nagios/plugins/...
by apostolisep3
Fri Feb 24, 2017 2:18 am
Forum: Open Source Nagios Projects
Topic: nrpe check_disk help
Replies: 19
Views: 16045

Re: nrpe check_disk help

hello bwallace thank you for your reply the commnand in the nrpe.cfg on the nagios server is command[check_sdb1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/sdb1 cat /usr/local/nagios/etc/nrpe.cfg ############################################################################# # Sample N...
by apostolisep3
Thu Feb 23, 2017 3:26 am
Forum: Open Source Nagios Projects
Topic: nrpe check_disk help
Replies: 19
Views: 16045

nrpe check_disk help

Hello everyone i need a little help concerning the check_disk command.
no matter which disk i indicate in the nrpe.cfg to monitor the output in the web interface is the same and i take results only for the root partition.

any help please?

thank you!