nagios service restart failed.
Re: nagios service restart failed.
I don't see any command prompt on my nagios server(centos 7 machine).
should i try it in terminal?
[root@localhost /]# ia0cw007
bash: ia0cw007: command not found...
should i try it in terminal?
[root@localhost /]# ia0cw007
bash: ia0cw007: command not found...
Re: nagios service restart failed.
My mistake... from the Nagios server:
If telnet isn't installed:
Code: Select all
telnet ia0cw007 5666
Code: Select all
yum -y install telnet
Re: nagios service restart failed.
[root@localhost /]# telnet ia0cw007 5666
telnet: ia0cw007: Name or service not known
ia0cw007: Host name lookup failure
should i include fqdn?? or no?
telnet: ia0cw007: Name or service not known
ia0cw007: Host name lookup failure
should i include fqdn?? or no?
Re: nagios service restart failed.
i forgot to mention that this client was installed when i was testing nagiosxi. I just added the new nagios core server in the "allowed hosts" in the nagios agent on ia0cw007. Do you think i need to do a re-install with only nagios core server.
I have added firewalls rule attachment. pls suggest how to proceed.
I have added firewalls rule attachment. pls suggest how to proceed.
Re: nagios service restart failed.
Can you try the telnet command replacing host name with ip address?
And post result.
Are your check commands working in the Core web gui now?
Code: Select all
telnet ipaddress 5666
ping ipaddress
Are your check commands working in the Core web gui now?
Re: nagios service restart failed.
[root@localhost /]# ping 10.52.94.31
PING 10.52.94.31 (10.52.94.31) 56(84) bytes of data.
64 bytes from 10.52.94.31: icmp_seq=1 ttl=127 time=0.362 ms
64 bytes from 10.52.94.31: icmp_seq=2 ttl=127 time=0.446 ms
64 bytes from 10.52.94.31: icmp_seq=3 ttl=127 time=0.480 ms
^C
--- 10.52.94.31 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.362/0.429/0.480/0.052 ms
[root@localhost /]# telnet 10.52.94.31 5666
Trying 10.52.94.31...
Connected to 10.52.94.31.
Escape character is '^]'.
Connection closed by foreign host.
the services status is same.the services status is WARNING and status information is "could not fetch information from the server"
PING 10.52.94.31 (10.52.94.31) 56(84) bytes of data.
64 bytes from 10.52.94.31: icmp_seq=1 ttl=127 time=0.362 ms
64 bytes from 10.52.94.31: icmp_seq=2 ttl=127 time=0.446 ms
64 bytes from 10.52.94.31: icmp_seq=3 ttl=127 time=0.480 ms
^C
--- 10.52.94.31 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.362/0.429/0.480/0.052 ms
[root@localhost /]# telnet 10.52.94.31 5666
Trying 10.52.94.31...
Connected to 10.52.94.31.
Escape character is '^]'.
Connection closed by foreign host.
the services status is same.the services status is WARNING and status information is "could not fetch information from the server"
Re: nagios service restart failed.
I see only Uptime is service is working on ia0cw007. pls check the attachment.
Re: nagios service restart failed.
Try this from a command line on your Nagios server:
Also, look through this guide and make sure you followed all of the necessary steps to enable nrpe on your Windows box.
https://assets.nagios.com/downloads/nag ... -0.3.x.pdf
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 10.52.94.31
https://assets.nagios.com/downloads/nag ... -0.3.x.pdf
Re: nagios service restart failed.
Thank you, it worked.
Can you leave this open for 2 days more. I would try adding 2 more hosts and would post updates.
Can you leave this open for 2 days more. I would try adding 2 more hosts and would post updates.