Monitoring Script not running - Nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Techmnagioslsuser
Posts: 39
Joined: Fri Apr 02, 2021 1:17 am

Monitoring Script not running - Nagios

Post by Techmnagioslsuser »

Hello Team,

After OS Patching , monitoring script not running in Nagios in our production system.
NRPE service is not starting. Please suggest.

Nagios host 10.89.13.25 ( application running here )
remote host 10.89.13.14

[root@a0110pcsgmon01 sbin]# /usr/local/nagios/libexec/check_nrpe -H 10.89.13.14
connect to address 10.89.13.14 port 5666: Connection refused
connect to host 10.89.13.14 port 5666: Connection refused[root@a0110pcsgmon01 sbin]#

[root@a0110pcsgmon01 sbin]# /usr/local/nagios/libexec/check_nrpe -H 10.89.13.25
NRPE v2.15

[root@a0110pcsgmon01 sbin]# traceroute -p 5666 10.89.13.14
traceroute to 10.89.13.14 (10.89.13.14), 30 hops max, 60 byte packets
1 a0110pcsgesb10 (10.89.13.14) 0.155 ms 0.099 ms 0.086 ms
[root@a0110pcsgmon01 sbin]#

[root@a0110pcsgmon01 sbin]# netstat -an |grep 5666
tcp6 0 0 :::5666 :::* LISTEN
[root@a0110pcsgmon01 sbin]#

[root@a0110pcsgmon01 sbin]# ps -ef | grep -i nrpe
root 8532 16843 0 18:56 pts/0 00:00:00 grep --color=auto -i nrpe
[root@a0110pcsgmon01 sbin]#

[root@a0110pcsgmon01 sbin]# more /etc/xinetd.d/nrpe
# default: on
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
flags = REUSE
socket_type = stream
port = 5666
wait = no
user = nagios
group = nagios
server = /usr/local/nagios/bin/nrpe
server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd
log_on_failure += USERID
disable = no
only_from = 127.0.0.1 ::1 10.89.13.25 10.89.13.14
}
[root@a0110pcsgmon01 sbin]#


From: Nagios server
[root@a0110pcsgmon01 sbin]# find / -name nrpe
/app/nrpe-2.15/package/solaris/pkg/nrpe
/app/nrpe-2.15/src/nrpe
find: ‘/proc/9246’: No such file or directory
find: ‘/proc/9247’: No such file or directory
/usr/local/nagios/bin/nrpe
/etc/rc.d/init.d/nrpe
/etc/xinetd.d/nrpe
[root@a0110pcsgmon01 sbin]#

From: remote server
[root@a0110pcsgesb10 ~]# find / -name nrpe
find: ‘/proc/17604’: No such file or directory
You have new mail in /var/spool/mail/root
[root@a0110pcsgesb10 ~]#


Thank you
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Monitoring Script not running - Nagios

Post by benjaminsmith »

Hi,

Thanks for contacting us.

After looking up your account, I do not find an active Nagios Core or XI license associated with your username. Please attach a system profile, so I can verify the license and review the system logs for you.

To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button

Best Regards,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked