Search found 5 matches

by opierp
Fri May 15, 2015 10:24 am
Forum: Open Source Nagios Projects
Topic: check_snmp_environment.pl: check did not exit properly
Replies: 4
Views: 5943

Re: check_snmp_environment.pl: check did not exit properly

I just added '# nagios: -epn' to the plugin and that corrected the problem; thanks!
by opierp
Fri May 15, 2015 9:05 am
Forum: Open Source Nagios Projects
Topic: check_snmp_environment.pl: check did not exit properly
Replies: 4
Views: 5943

Re: check_snmp_environment.pl: check did not exit properly

This is the contents of nagios.log as per your suggested command. [1431694599] Warning: Check of service 'A45 - Environment Status' on host '10.231.135.131' did not exit properly! [1431694899] Warning: Check of service 'A45 - Environment Status' on host '10.231.135.131' did not exit properly! [1431...
by opierp
Thu May 14, 2015 12:29 pm
Forum: Open Source Nagios Projects
Topic: check_snmp_environment.pl: check did not exit properly
Replies: 4
Views: 5943

check_snmp_environment.pl: check did not exit properly

I really like the plugin check_snmp_environment.pl! I am able to execute the plugin from the command line but have not been able to make it work in Nagios. All the comments I see on the Nagios plugins page are positive so I must be doing something simply wrong in my scripts. I am running Nagios 3.5....
by opierp
Wed Dec 04, 2013 10:02 am
Forum: Open Source Nagios Projects
Topic: Need help with check_snmp with option -s
Replies: 2
Views: 1460

Re: Need help with check_snmp with option -s

Well, it appears that the problem is now solved. While searching through the various postings related to check_snmp issues, I ran across an example where the entire string being tested was enclosed with single quotes. I edited the service check to be as: define service { use generic-service hostgrou...
by opierp
Tue Dec 03, 2013 4:59 pm
Forum: Open Source Nagios Projects
Topic: Need help with check_snmp with option -s
Replies: 2
Views: 1460

Need help with check_snmp with option -s

Environment: Nagios 3.5.0 on SUSE 12.1 I am trying to use check_snmp as a means to validate the IOS version running on a Cisco switch. I am able to retrieve the IOS version with the following service check. define service { use generic-service hostgroup_name FSS-C3750G-24TS-1U service_description IO...