How to filter "not been monitored" hosts?
How to filter "not been monitored" hosts?
If there're thousands of hosts/services in NagiosXI been monitored, how to quick filter the hosts that "had not been monitored" of specific service?
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: How to filter "not been monitored" hosts?
Hello @xpertech,
Can you describe in more detail which hosts/services you're trying to filter? If the host or service is active, it should be monitored and any inactive hosts/services are not being monitored, and you can sort those in the CCM under Monitoring > Hosts or Services.
Thanks.
Can you describe in more detail which hosts/services you're trying to filter? If the host or service is active, it should be monitored and any inactive hosts/services are not being monitored, and you can sort those in the CCM under Monitoring > Hosts or Services.
Thanks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: How to filter "not been monitored" hosts?
e.g. since there're thousands of host/service, maybe I forgot whether some hosts been monitered http service or not, I want to quick filter which host had not been monitered http, so I can setup http moniter for those hosts.benjaminsmith wrote:Hello @xpertech,
Can you describe in more detail which hosts/services you're trying to filter? If the host or service is active, it should be monitored and any inactive hosts/services are not being monitored, and you can sort those in the CCM under Monitoring > Hosts or Services.
Thanks.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: How to filter "not been monitored" hosts?
Hello @xpertech,
One way to view which check command is being used for a hosts is to log into the core interface http://ip-address/nagios, and then go to System > Configuration > Hosts and this will list the configuration of all hosts ( search for http ).
Alternatively, you can search the objects.cach file and view the check_commands for the hosts.
For example:
One way to view which check command is being used for a hosts is to log into the core interface http://ip-address/nagios, and then go to System > Configuration > Hosts and this will list the configuration of all hosts ( search for http ).
Alternatively, you can search the objects.cach file and view the check_commands for the hosts.
For example:
Code: Select all
cat /usr/local/nagios/var/objects.cache | grep "host_name\|check_command"
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: How to filter "not been monitored" hosts?
benjaminsmith wrote:Hello @xpertech,
One way to view which check command is being used for a hosts is to log into the core interface http://ip-address/nagios, and then go to System > Configuration > Hosts and this will list the configuration of all hosts ( search for http ).
Alternatively, you can search the objects.cach file and view the check_commands for the hosts.
For example:Code: Select all
cat /usr/local/nagios/var/objects.cache | grep "host_name\|check_command"
What I'm trying to search is that which check command "was not being used" from host list.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: How to filter "not been monitored" hosts?
Hello @xpertech
Ok. Currently, the web interface does not have that kind of search/sort features. However, you can use the steps described to help sort or search hosts and their check commands.What I'm trying to search is that which check command "was not being used" from host list.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!