Error adding new hosts

Having issues? Post them here, and help other users.
Post Reply
Gregorywest
Junior Member
Posts: 6
Joined: Wed Aug 12, 2020 1:41 am

Error adding new hosts

Post 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?
User avatar
Robbie Ferguson
Posting Freak
Posts: 835
Joined: Wed Mar 07, 2012 3:23 pm
Location: Ontario, Canada
Contact:

Re: Error adding new hosts

Post 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
Post Reply