Hello Team,
I recently installed free version of Nagiosxi and I would like to monitor the date/time of the server using Nagios. So how do I set up an alert from Nagios when the time gets changed or running incorrectly on the server.
Thanks,
Teenu
How to monitor the time of the server using Nagios xi
-
- Posts: 2
- Joined: Tue Jan 17, 2023 12:06 pm
-
- Posts: 2
- Joined: Tue Jan 17, 2023 12:06 pm
Re: How to monitor the time of the server using Nagios xi
Hi,
I added the service check_ntp_time to localhost, but when I execute the below command on the server, I am getting a response:
./check_ntp_time -H <NTP server> -w 1 -c 5
NTP OK: Offset 0.8832730055 secs, stratum best:0 worst:2|offset=0.883273s;1;5; stratum_best=0 stratum_worst=2 num_warn_stratum=0 num_crit_stratum=0
But on the Nagios xi site, I am getting the following error:
(Return code of 127 is out of bounds. Check if plugin exists)
I am using NCPA to monitor servers. so do I need to modify any configuration files for enabling check_ntp_time.
Please help to fix this.
Thanks,
Teenu
I added the service check_ntp_time to localhost, but when I execute the below command on the server, I am getting a response:
./check_ntp_time -H <NTP server> -w 1 -c 5
NTP OK: Offset 0.8832730055 secs, stratum best:0 worst:2|offset=0.883273s;1;5; stratum_best=0 stratum_worst=2 num_warn_stratum=0 num_crit_stratum=0
But on the Nagios xi site, I am getting the following error:
(Return code of 127 is out of bounds. Check if plugin exists)
I am using NCPA to monitor servers. so do I need to modify any configuration files for enabling check_ntp_time.
Please help to fix this.
Thanks,
Teenu
-
- Posts: 9
- Joined: Tue May 09, 2023 12:39 am
Nagios NTP is showing critical as no output returned from plugin
Few servers are showing ntp critical and when i searched from nagios end those servers are not configured from nagios end and from server ntp is not configured but still it is showing critical. Please help me with these
-
- Posts: 9
- Joined: Tue May 09, 2023 12:39 am
Nagios service enent monitor is showing critical as event noticed from azure backend
There are no backend work from azure but still nagios is showing critical please help me with this