Hi ,
By default the sever status is showing ping status and can display it as jvm status instead of ping. Can someone please help me with this
Nagios service on host name
Re: Nagios service on host name
Could you show us a screenshot to clarify what you mean?
Thanks!
Thanks!
Re: Nagios default service on hostname
Hi Kyang,
By default we are getting server PING status for all the hosts but I want to change it one of the service status instead of ping status. Can you please let me know how to do it.
By default we are getting server PING status for all the hosts but I want to change it one of the service status instead of ping status. Can you please let me know how to do it.
Re: Nagios service on host name
This is done by altering the host's check_command, which would be redundant if you are already checking the JVM as a service.
A host's check_command cannot be "symbolically linked" or made to reference to a service check definition. Similarly, a host's status cannot be directly tied to the status of a service. This is a limitation of the objects themselves.
A host's check_command cannot be "symbolically linked" or made to reference to a service check definition. Similarly, a host's status cannot be directly tied to the status of a service. This is a limitation of the objects themselves.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Nagios service on host name
Thanks @mcapra for the help.
Pretty much all you would have to do is to edit the host check and make it the same as the existing service check.
If you need help doing this, please post the current host and service configuration so we can view the settings.
If you do figure out how to do this, since the host check is doing the same check as the service check, you may want to disable the service check as it is redundant.
Pretty much all you would have to do is to edit the host check and make it the same as the existing service check.
If you need help doing this, please post the current host and service configuration so we can view the settings.
If you do figure out how to do this, since the host check is doing the same check as the service check, you may want to disable the service check as it is redundant.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios service on host name
Hi trgiep,
Thank you for your quick response. I have changed the check command form check_host_alive to check_jvm in templates.cfg under linux servers and it is working.
Thank you for your help....
Thank you for your quick response. I have changed the check command form check_host_alive to check_jvm in templates.cfg under linux servers and it is working.
Thank you for your help....
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Nagios service on host name
@anusha, Do you have any other questions for us before I go ahead and lock this thread?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios service on host name
Yes you can lock this thread.
Thank you for your support...
Thank you for your support...