OMD Start Error
Re: OMD Start Error
Yap, please see the below
My client IP = 10.234.20.36 (The IP of the server I wish to monitor.)
Monitoring server = 10.234.20.36 (where OMD is installed)
Monitored server = 10.234.20.36 (The server (client) that I want to observe)
and my Check_MK configuration is:
service check_mk
{
type = UNLISTED
port = 6556
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/check_mk_agent
# listen on IPv4 AND IPv6 when available on this host
#flags = IPv6
# If you use fully redundant monitoring and poll the client
# from more then one monitoring servers in parallel you might
# want to use the agent cache wrapper:
#server = /usr/bin/check_mk_caching_agent
# configure the IP address(es) of your Nagios server here:
#only_from = 10.234.20.36
# Don't be too verbose. Don't log every check. This might be
# commented out for debugging. If this option is commented out
# the default options will be used for this service.
log_on_success =
disable = no
}
but failed to telnet clientIP 6556
please help.
My client IP = 10.234.20.36 (The IP of the server I wish to monitor.)
Monitoring server = 10.234.20.36 (where OMD is installed)
Monitored server = 10.234.20.36 (The server (client) that I want to observe)
and my Check_MK configuration is:
service check_mk
{
type = UNLISTED
port = 6556
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/check_mk_agent
# listen on IPv4 AND IPv6 when available on this host
#flags = IPv6
# If you use fully redundant monitoring and poll the client
# from more then one monitoring servers in parallel you might
# want to use the agent cache wrapper:
#server = /usr/bin/check_mk_caching_agent
# configure the IP address(es) of your Nagios server here:
#only_from = 10.234.20.36
# Don't be too verbose. Don't log every check. This might be
# commented out for debugging. If this option is commented out
# the default options will be used for this service.
log_on_success =
disable = no
}
but failed to telnet clientIP 6556
please help.
-
- Posts: 140
- Joined: 2015/06/02 13:04:03
Re: OMD Start Error
So if I read correctly, you want to monitor your localhost only? In that case, only_from should be like this
Also remove the # from the beginning, otherwise it is all for nothing.
Then restart xinetd
Test your connection ( I don't see why it wouldn't work in localhost )
or
Any good news now?
Code: Select all
only_from = 10.234.20.36 127.0.0.1
Then restart xinetd
Code: Select all
systemctl restart xinetd
Code: Select all
telnet 10.234.20.36 6556
Code: Select all
telnet 127.0.0.1 6556
Re: OMD Start Error
Dear bertalanimre,
Please check the attachment there I attached two snaps, where one is my old Check_MK which is running and another is created by me with your help. New one has an error in display, please check and advise.
Thanks.
Please check the attachment there I attached two snaps, where one is my old Check_MK which is running and another is created by me with your help. New one has an error in display, please check and advise.
Thanks.
-
- Posts: 140
- Joined: 2015/06/02 13:04:03
Re: OMD Start Error
Dear Friend,
You don't really understand the concept of Server and Client Server I think.
On the 1st picture I can see a lot of hosts. They are the ones I'm trying to refer to as clients. You have to add them one by one to the newly created monitoring server. As far as I can see (it it way too blurry) there are clients with IP addresses like 10.234.200.1 10.234.10.108 10.234.100.2 ... etc. When I said try your connection between the server and the client (host if you like it better), then the command shall look like this:
or
If you do this on your newly installed server, you should receive sh*t tons of data back. If you do, then you just have to add them one by one to your newly installed server. They won't add them self to the server. Why would they?
If the test shows an error make sure you check the followings:
- Firewall on your server is letting out the 6556 port
- on the client (or host if you like) check the /etc/xinet.d/check_mk_agent file and if the only_from allows your IP address (10.234.20.36)
You have to register all these hosts manually.
You don't really understand the concept of Server and Client Server I think.
On the 1st picture I can see a lot of hosts. They are the ones I'm trying to refer to as clients. You have to add them one by one to the newly created monitoring server. As far as I can see (it it way too blurry) there are clients with IP addresses like 10.234.200.1 10.234.10.108 10.234.100.2 ... etc. When I said try your connection between the server and the client (host if you like it better), then the command shall look like this:
Code: Select all
telnet 10.234.200.1 6556
Code: Select all
telnet 10.234.10.108 6556
If the test shows an error make sure you check the followings:
- Firewall on your server is letting out the 6556 port
- on the client (or host if you like) check the /etc/xinet.d/check_mk_agent file and if the only_from allows your IP address (10.234.20.36)
You have to register all these hosts manually.
Re: OMD Start Error
Dear Friend,
FYI, we have lost our OMD server root password that's why need to create a new OMD server. Also FYI, last week we rearranged/recreated our Hosts by clicking Hosts & Folder then New Host then IP, Host Name, etc..etc. no needed to login OMD server (we don't have OMD server password) then it shows when click All Hosts (tiled). Please see the below snap:
Thanks.
FYI, we have lost our OMD server root password that's why need to create a new OMD server. Also FYI, last week we rearranged/recreated our Hosts by clicking Hosts & Folder then New Host then IP, Host Name, etc..etc. no needed to login OMD server (we don't have OMD server password) then it shows when click All Hosts (tiled). Please see the below snap:
Thanks.
-
- Posts: 140
- Joined: 2015/06/02 13:04:03
Re: OMD Start Error
What root password you've lost? The system root (SSH) or the login for the website? The first one is not easy to recover, indeed but possible. The 2nd one is easy, just generate a new htaccess file on the server and done.
Re: OMD Start Error
Dear Friend,
Still same problem, when I try to view all host in my browser then it shows:
Unhandled exception: 400: Table 'services' has no column 'service_comments_with_extra_info'
please help to solve.
Still same problem, when I try to view all host in my browser then it shows:
Unhandled exception: 400: Table 'services' has no column 'service_comments_with_extra_info'
please help to solve.
-
- Posts: 140
- Joined: 2015/06/02 13:04:03
Re: OMD Start Error
Did you add at least one server and tried to connect to it with telnet before in terminal? Until you don't say: Yes, telneting form server to host works - I can't help you at all.