Hi
Good Evng,
I am facing issues with NRDP server
I am suspecting it is not forwarding external commands to the nagios server
Below is the error i am getting for the respective service
(Return code of 127 is out of bounds - plugin may be missing)
Below are configuration for NRDP
in templates.cfg
define service {
name generic-nrdp
is_volatile 0
check_period 24x7
max_check_attempts 2
normal_check_interval 3
retry_check_interval 2
active_checks_enabled 0
passive_checks_enabled 1
obsess_over_service 1
check_freshness 1
freshness_threshold 905
notifications_enabled 0
notification_interval 60
notification_period 24x7
notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
check_command check_demo
register 0
}
in /usr/local/nagios/etc/objects/commands.cfg
define command{
command_name check_demo
command_line $USER1$/check_demo
}
in localhost.cfg
define service{
use generic-nrdp ; Name of service template to use
host_name UAT
service_description Disk_Space
}
Note: NRDP i checked in GUI with token and request XML and it is responding 1 check processed but it is not sending same to the Nagios
Any Suggestions/Solutions will be appreciated.
Thanks ,
RAJ,
NRDP --Return code of 127 is out of bounds
" NRDP -- Passive checks"
Hi All.
Can any one explain where we can check whether NRDP server is sending any data(Passive checks/external commands data) to nagios server or not.
i am getting error (Return code of 127 is out of bounds - plugin may be missing) for all external commands
Note: I can see NRDP client is sending data to NRDP server and Passive checks are enabled in nagios.cfg
any help will be appreciated.
Thanks,
Raj.
Can any one explain where we can check whether NRDP server is sending any data(Passive checks/external commands data) to nagios server or not.
i am getting error (Return code of 127 is out of bounds - plugin may be missing) for all external commands
Note: I can see NRDP client is sending data to NRDP server and Passive checks are enabled in nagios.cfg
any help will be appreciated.
Thanks,
Raj.
Re: NRDP --Return code of 127 is out of bounds
Can you please post the host definition for UAT?
Also, what is the file 'check_demo'?
Also, what is the file 'check_demo'?
Former Nagios Employee
Re: NRDP --Return code of 127 is out of bounds
here is the definition for host UAT
Check_demo is the dummy command
we are using here NRDP which will send external command o/p to the nagios server.
Can You Please tell me.. how i can check whether NRDP forwarding any data to nagaios or not ?
Code: Select all
define host{
use linux-server
host_name UAT
alias UAT
address 10.201.2.8
}
Check_demo is the dummy command
we are using here NRDP which will send external command o/p to the nagios server.
Can You Please tell me.. how i can check whether NRDP forwarding any data to nagaios or not ?
Re: NRDP --Return code of 127 is out of bounds
Can you post how the service check is defined for the Disk_space service on the nagios system?
Can you run the following on the nagios system and post back the results?
If the plugins are in a different folder, adjust the above line to reflect that.
Can you show how the remote system is setup for sending the information to the Nagios system and any log information?
Can you run the following on the nagios system and post back the results?
Code: Select all
ls -l /usr/local/nagios/libexec
Can you show how the remote system is setup for sending the information to the Nagios system and any log information?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NRDP --Return code of 127 is out of bounds
Hi tgriep ,
thanks for the reply .
This is the service check for the Disk_space
and here we do not need any plugins because we are using NRDP which can send a remote server command o/p to the nagios server.
i want to check NRDP server log but i could not find it . Can any one explain how i can check NRDP server log?
Thanks,
Raj.
thanks for the reply .
This is the service check for the Disk_space
Code: Select all
define service {
name generic-nrdp
is_volatile 0
check_period 24x7
max_check_attempts 2
normal_check_interval 3
retry_check_interval 2
active_checks_enabled 0
passive_checks_enabled 1
obsess_over_service 1
check_freshness 1
freshness_threshold 905
notifications_enabled 0
notification_interval 60
notification_period 24x7
notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
check_command check_demo
register 0
}
i want to check NRDP server log but i could not find it . Can any one explain how i can check NRDP server log?
Thanks,
Raj.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: NRDP --Return code of 127 is out of bounds
In this guide:
https://assets.nagios.com/downloads/nrd ... erview.pdf
On pages 3 and 4 there is a section "Using the NRDP Client".
Can you perform these tests and post the command executed and the output.
On your client you should also have a config file with all your commands defined, can you please upload that file.
https://assets.nagios.com/downloads/nrd ... erview.pdf
On pages 3 and 4 there is a section "Using the NRDP Client".
Can you perform these tests and post the command executed and the output.
On your client you should also have a config file with all your commands defined, can you please upload that file.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.