Hello,
Is it possible to monitor services without defining a host?
What I mean is that I want to monitor some of my websites that I host but I don't want then mixed in under the webservers services and instead have them under a separate one.
I can make a new host definition that points to either the same IP or just a dummy one but maybe there is a better way of doing this?
Thanks,
Monitor services without host?
Re: Monitor services without host?
Nope. Services are always associated with hosts:Wicket wrote:Is it possible to monitor services without defining a host?
https://assets.nagios.com/downloads/nag ... bject.html
That's probably the best way to do it. Dummy host with active checks disabled, or your "host check" being something like checking that site's home page for some bit of content. Then if you want to define "services" under this host, you could check critical forms, checkout processes if these are ecommerce sites, emails, whatever.Wicket wrote:I can make a new host definition that points to either the same IP or just a dummy one but maybe there is a better way of doing this?
You could also make these hosts dependent on the main host, which might be your webserver(s) hosting those websites. More info on dependencies:
https://assets.nagios.com/downloads/nag ... ncies.html
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Monitor services without host?
Thanks, @mcapra!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.