Page 1 of 1

Error adding new hosts

Posted: Fri Sep 04, 2020 10:26 am
by Gregorywest
I am adding new hosts to NEMS and when I go to create Nagios configs I get the following error:

Error: Invalid max_check_attempts value for host 'HP ProCurve 2528POE'
Error: Could not register host (config file '/var/www/html/nconf/temp/Default_collector/hosts.cfg', starting on line 28)

I am not quite sure where this is set. I have looked all over nconf but can not find anything to fix this. Any ideas what I am doing wrong here?

Re: Error adding new hosts

Posted: Fri Sep 04, 2020 8:05 pm
by Robbie Ferguson
Hey Gregorywest. Welcome to NEMS Linux!

You need to set your check values in your Host for the ProCurve.

I'd suggest you start with some exercises from the ODROID Magazine articles to give you a good knowledge base.

You can also see an example, for example, here: https://docs.nemslinux.com/config/nems_ ... /check_tcp - while it is a Service (where yours is a host) it is similar to setup.

Let me know if you're still stuck.

Robbie