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.
Could not find any hostgroup matching 'snmp-servers'
I put this line a comment
Does need these two lines?
I discovered that I did not check_snmp_extend but against check_snmp exist in /usr/lib/nagios/plugins
What should I do?
Now addressing your problems directly:
1. Your contact definitions are currently relying on the generic-contact template for configuration information. If you want to get rid of it you need to either assign the contacts a different template or move the template information directly into the contact objects.
2. You misspelled interval.
'notification_intreval'
Your second error of being unable to find the 'snmp-servers' hostgroup is because either one of your hosts or one of your services has designated itself as a member of snmp-servers... but no snmp-servers group actually exists.
Nagios has a fairly steep learning curve and can be quite difficult to learn and is unfortunately one of those applications that requires you to read the manual.
jsmurphy wrote:
2. You misspelled interval.
'notification_intreval'
Thank you for that comment I corrected the error
Your second error of being unable to find the 'snmp-servers' hostgroup is because either one of your hosts or one of your services has designated itself as a member of snmp-servers... but no snmp-servers group actually exists.
I added the definition of the host group "snmp-servers"
Much like you were previously missing the hostgroup snmp-servers, you now have a reference to a template called "generic-contact" that no longer exists. You will either need to put the contact template back or remove the reference to it.