hello
on Nagios XI :
i need support on adding plugin to monitor status for the script for client machine.
script is working fine that I have checked on the client machine.
how to add the plugin to work on nagios xi and client, what configuration to be change , I think we can add on GUI on nagios XI.
[root@nagiosxi libexec]# ./check_nrpe -H 192.168.56.xxx -t 30 -c check_crm_v0_7
NRPE: Command 'check_crm_v0_7' not defined
You have new mail in /var/spool/mail/root
adding plugin configuration
Re: adding plugin configuration
Hi iqadmin,
In order for check_nrpe to work with your new script "check_crm_v0_7", please add (define) the new script to the "nrpe.cfg" file on the remote host.
Add your new script to the command section (see sample below) inside the "nrge.cfg" file:
Once added, please restart your nrpe service on the remote server:
Here's an example of the service defined in XI:
Regards,
Vinh
In order for check_nrpe to work with your new script "check_crm_v0_7", please add (define) the new script to the "nrpe.cfg" file on the remote host.
Code: Select all
/usr/local/nagios/etc/nrpe.cfg
Code: Select all
command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10
command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20
command[check_hda1]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/hda1
command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200
Code: Select all
systemctl restart nrpe.service
Vinh
You do not have the required permissions to view the files attached to this post.
Re: adding plugin configuration
[quote="vtrac"]
Thank you for your support
Thank you for your support
Re: adding plugin configuration
Great!! .... I will close/lock the post/ticket ... 