New strange error

This forum is intended for the discussion of Nagios plugin development. Feature requests, patches, bug fixes, and all types of development-related discussions are welcome!

NOTE: The SourceForge.net nagiosplug-devel mailing list has been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

New strange error

Postby liberodark » Mon Jul 08, 2019 3:36 am

Hi,

Have work on check_service plugin is work great but now is not work :(
Have updated check_cpu / check_mem and nagios do not want to export that configuration anymore.

Have this error :
Code: Select all
Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'Check Service'


check_service : https://github.com/liberodark/nrpe-installer/blob/master/plugins/check_service.sh

If you have any idea for what that make this new error.

Best Regards
liberodark
 
Posts: 25
Joined: Tue Mar 19, 2019 8:56 am

Re: New strange error

Postby scottwilkerson » Tue Jul 09, 2019 9:10 am

this error is with the nagios configuration for the service, not with the plugin.

Can you attach the service configuration along with any attached templates?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 16761
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: New strange error

Postby liberodark » Wed Aug 14, 2019 7:58 am

Hi,

Have fixe with add GENERIC_SERVICE on Template

Best Regards
liberodark
 
Posts: 25
Joined: Tue Mar 19, 2019 8:56 am

Re: New strange error

Postby scottwilkerson » Wed Aug 14, 2019 7:59 am

liberodark wrote:Hi,

Have fixe with add GENERIC_SERVICE on Template

Best Regards

Great!

Locking thread
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 16761
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Plugin Development

Who is online

Users browsing this forum: No registered users and 4 guests