Use Check_nc_Net.c for the latest functions and commands that are in NC_Net.
check_nc_net was modified from Check_nt.c frim the "Official Nagios Plugins Version 1.4 Beta1"
so the easiest way to compile it is:
download and compile the offical Nagios Plugin version 1.4Beta1
once you used the "make" command on this package. then you can copy check_nc_net.c to the check_nt.c (overwriting check_nt.c)
then just run "make" again and it would see that the check_nt.c has been changed and compile.
once it compiles sucessfully just copy the check_nt binary to check_nc_net
Not all versions of the nagions plugin work. Check_nc_net has only been tested against v1.4beta1 since that was the version that I forked check_nc_net from.
I hope this solves the issue for you
TOny
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Got error when compiling the check_nc_net.c ....pls help !!!
...
collect2: ld returned 1 exit status
Use Check_nc_Net.c for the latest functions and commands that are in NC_Net.
check_nc_net was modified from Check_nt.c frim the "Official Nagios Plugins Version 1.4 Beta1"
so the easiest way to compile it is:
download and compile the offical Nagios Plugin version 1.4Beta1
once you used the "make" command on this package. then you can copy check_nc_net.c to the check_nt.c (overwriting check_nt.c)
then just run "make" again and it would see that the check_nt.c has been changed and compile.
once it compiles sucessfully just copy the check_nt binary to check_nc_net
Not all versions of the nagions plugin work. Check_nc_net has only been tested against v1.4beta1 since that was the version that I forked check_nc_net from.
I hope this solves the issue for you
TOny
Yes, Thanks for your tips, it works very well now. ;D Havent try to exec a .vbs script yet.