coredump on check_ntp_time service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rgilpin
Posts: 9
Joined: Wed Oct 04, 2017 7:14 pm

coredump on check_ntp_time service

Post by rgilpin »

Hi Support,

we are receiving a core dump using the a check service check_ntp_time on a number of Redhat systems.
The systems in question are:

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.7 (Santiago)



and

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)

Attached is check_ntp_time from above systems. BTW I renamed this as check_ntp_time.txt to allow me to upload. file originally named check_ntp_time (no extention)

Note that it is working on an earlier system (32bit v5)

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.11 (Tikanga)

any help would be appreciated.
You do not have the required permissions to view the files attached to this post.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: coredump on check_ntp_time service

Post by dwhitfield »

Did you move this file over from the 32-bit system or did you recompile for 64-bit? The plugin would not be expected to work on 64-bit. If you ran the backup and restore, you missed the piece in https://assets.nagios.com/downloads/nag ... ios-XI.pdf about re-running the subcomponents. Among other things, this will recompile the plugins.

I downloaded your version, and the same thing happens on my system, so I don't think there's anything wrong with your RHEL 6/7 systems.
rgilpin
Posts: 9
Joined: Wed Oct 04, 2017 7:14 pm

Re: coredump on check_ntp_time service

Post by rgilpin »

Thanks for the reply. Sorry, fairly obvious in the end. Recompiled new plugin package on 64bit OS and ntp works fine now.
Had to post this as was heading off on leave and management wanted to "double check" with Nagios support.

Anyway, all good now so please close this thread. Thanks again for your quick response.
Locked