Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
<snipped>
Warning: Host 'abc26esxi02' has no services associated with it!
<snipped>
Checked 6 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 25
Total Errors: 0
How can I disable "no services associated" warning message ?
After reading R1, looks like nagios command,host,service need be defined for a machine.
Following is an attempt to define a service but not actually running it.
Will following really works to my goal of ping only monitoring upon a machine ?
is just a warning telling you that there are no service checks setup for that host and can be ignored.
If all you want to check is is the host is up, you can edit your host and add the check-host-alive or check_icmp to it and that should give you the results you are looking for.
Be sure to check out our Knowledgebase for helpful articles and solutions!
is just a warning telling you that there are no service checks setup for that host and can be ignored.
If all you want to check is is the host is up, you can edit your host and add the check-host-alive or check_icmp to it and that should give you the results you are looking for.
So no way to silent that warning message regarding "no services associated with a host" ?
Can we use a dummy service like following to declare service but not doing the service check ?
nagmoto wrote:
So no way to silent that warning message regarding "no services associated with a host" ?
Not without editing the source.
nagmoto wrote:Can we use a dummy service like following to declare service but not doing the service check ?
That would work. You could also just set the check command to use check_dummy. But as active and passive checks are disabled, it will never schedule the check anyways.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.