Just using SNMP

dave stern - e-mail.pluribus.unum dit.dash at gmail.com
Thu Apr 19 18:42:16 CEST 2007


You can do the NSclient installs remotely by staging it on a common
share, have a .cmd file something like this:
mkdir c:\nsclient
@if   "%ERRORLEVEL%"=="1" goto :EXIT
copy C:\\temp\nsclient\Win_2k_XP_Bin\* c:\nsclient
@if   "%ERRORLEVEL%"=="1" echo "error occurred while copying files"
c:\nsclient\pNSClient.exe /install
@if   "%ERRORLEVEL%"=="1" echo "error running pNSClient"
net start nsclient
@if   "%ERRORLEVEL%"=="1" echo "error occured while starting nsclient service"

The above can be remotely run thru a variety of mechanisms, even submitting a
remote scheduler job to run once. Then just write a script to install
on all your
servers once it's been tested. It's worth it in the longrun.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list