Nagios

How to Check NRPE Status From Nagios

Check NRPE status from nagios [ simplified ]

Login to Nagios IIX C2 [202.157.186.88]

Login via ssh and use key passphrased provided.

Check NRPE

For example, want to check disk status of server leci.

[root@nagios-iix-c2 ~]# cek_nrpe leci.idcloudhosting.com check_disk
DISK OK used : /backup 30.23% free | /backup=5991770224KB

For example want to check mail queue status of server leci.

[root@nagios-iix-c2 ~]# cek_nrpe leci.idcloudhosting.com check_mailq
OK: Current queue is 75 (threshold w = 400)|unsent=75;400;500;0

Available command

  • check_disk
  • check_mailq
  • check_lsi (check RAID status, only for HOST node)
  • check_mysql
  • check_load
  • check_cdp (backup R1soft agent status)
  • check_apache
  • check_tps (IOSTAT status)

Leave a Reply

Your email address will not be published. Required fields are marked *