Page 2 of 2

Re: Service Check pending - Fail

Posted: Mon Dec 12, 2016 10:26 am
by maartin.pii
Hi Guys,

I am uploading some screenshots with the answers.

My command def

Code: Select all

define command {
       command_name                  		check_snmp_mem
       command_line                  		$USER1$/check_snmp_mem.pl -H  $HOSTADDRESS$ -I cisco -C $ARG1$ -w $ARG2$ -c $ARG3$
}
Regards,

Re: Service Check pending - Fail

Posted: Mon Dec 12, 2016 4:00 pm
by ssax
Please open up your /usr/local/nagios/var/objects.cache, find the service definition for this service, and post it in its entirety so that we can review the settings.

Also, please PM one of us an updated copy of your profile as well.


Thank you

Re: Service Check pending - Fail

Posted: Tue Dec 13, 2016 10:47 am
by maartin.pii
Here is the definition:

define service {
host_name VG224_Banfield01
service_description NET: MEM
check_period xi_timeperiod_24x7
check_command check_snmp_mem!spectrum!75!80!!!!!
contact_groups comunicaciones
notification_period xi_timeperiod_24x7
initial_state o
importance 0
check_interval 5.000000
retry_interval 1.000000
max_check_attempts 5
is_volatile 0
parallelize_check 1
active_checks_enabled 1
passive_checks_enabled 1
obsess 1
event_handler_enabled 1
low_flap_threshold 0.000000
high_flap_threshold 0.000000
flap_detection_enabled 1
flap_detection_options a
freshness_threshold 0
check_freshness 0
notification_options r,w,c
notifications_enabled 1
notification_interval 5.000000
first_notification_delay 5.000000
stalking_options n
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
}

Re: Service Check pending - Fail

Posted: Tue Dec 13, 2016 11:02 am
by maartin.pii
Uploading my profile.

Re: Service Check pending - Fail

Posted: Tue Dec 13, 2016 11:41 am
by dwhitfield
Closing as there is now a ticket.