Search found 8 matches

by VisRyanWilliams
Mon Apr 28, 2014 6:27 am
Forum: Open Source Nagios Projects
Topic: Nagios returns service did not exit properly
Replies: 14
Views: 7960

Re: Nagios returns service did not exit properly

Hi I managed to solve this. The command and service code I used are the following: define command{ command_name check_snmp_storage command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ -C $ARG1$ -m $ARG2$ -w $ARG3$ -c $ARG4$ } define service { hostgroup_name netbios-ssn service_description Che...
by VisRyanWilliams
Mon Apr 28, 2014 3:38 am
Forum: Open Source Nagios Projects
Topic: Nagios returns service did not exit properly
Replies: 14
Views: 7960

Re: Nagios returns service did not exit properly

Hi So I have created the following command define command{ command_name check_snmp_storage command_line /usr/lib/nagios/plugins/check_snmp_storage.pl -H $HOSTADDRESS$ $ARG1$ } With the following service define service { hostgroup_name netbios-ssn service_description Check-SNMP-Storagey check_command...
by VisRyanWilliams
Thu Apr 24, 2014 7:34 am
Forum: Open Source Nagios Projects
Topic: Nagios returns service did not exit properly
Replies: 14
Views: 7960

Re: Nagios returns service did not exit properly

Hi I have just started using the pearl script check_snmp_stoarge which seems to be a much better script and will offer more options on things I can check suck as memory if I would like For now would someone be able to point me in the direction of what my command definition and service definition wou...
by VisRyanWilliams
Wed Apr 23, 2014 6:28 am
Forum: Open Source Nagios Projects
Topic: Nagios returns service did not exit properly
Replies: 14
Views: 7960

Re: Nagios returns service did not exit properly

Sorry for late reply

I have uploaded the debug.txt
by VisRyanWilliams
Wed Apr 16, 2014 10:52 am
Forum: Open Source Nagios Projects
Topic: Nagios returns service did not exit properly
Replies: 14
Views: 7960

Re: Nagios returns service did not exit properly

Yes I can

It runs through printing a bunch of things out to the screen.
by VisRyanWilliams
Tue Apr 15, 2014 11:53 am
Forum: Open Source Nagios Projects
Topic: Nagios returns service did not exit properly
Replies: 14
Views: 7960

Re: Nagios returns service did not exit properly

Hi I have at this point started from scratch and replaced the plugin, done a new command and definition in case I made any mistake. I have obtained the script from here http://exchange.nagios.org/directory/Plugins/Network-Protocols/SNMP/Enhanced-Windows-Disk-Check/details Which is this code #!/usr/b...
by VisRyanWilliams
Tue Apr 15, 2014 3:28 am
Forum: Open Source Nagios Projects
Topic: Nagios returns service did not exit properly
Replies: 14
Views: 7960

Re: Nagios returns service did not exit properly

Hi so I browsed to the location and then run the command and below is the following results VSHMON41:/usr/lib/nagios/plugins/added# ls win_check_snmp_disk.pl VSHMON41:/usr/lib/nagios/plugins/added# /usr/lib/nagios/plugins/added/win_check_snmp_disk.pl $HOSTADDRESS$ public 90 95 ERROR: address argumen...
by VisRyanWilliams
Mon Apr 14, 2014 9:15 am
Forum: Open Source Nagios Projects
Topic: Nagios returns service did not exit properly
Replies: 14
Views: 7960

Nagios returns service did not exit properly

I have a Nagios install which is working perfectly. Now I am a bit of a Nagios noob and not very good with my Linux commands but I have attempted to add a plugin to check disk space via snmp. The script I am using is called "win_check_snmp_disk.pl" which I obtained from Nagios Exchange. I ...