| 20 | | The options for the vbs script are explained in the file servers.txt which is attached ont this howto.[[BR]] |
| 21 | | The VBScript file is also attached here. |
| | 20 | '''Where''' |
| | 21 | a) @c:\tmp\nsclient_updates.txt |
| | 22 | |
| | 23 | is a simple text file with one servername per line which is used through psexec |
| | 24 | |
| | 25 | b) cscript \\server6\share1\NSClient++\nsclient_update.vbs |
| | 26 | the VBScript that install/update NSClient on each server in a) |
| | 27 | |
| | 28 | c) /S:\\server6\share1\NSClient++ |
| | 29 | server share where the server which should be updatet should get the new NSClient++ version |
| | 30 | |
| | 31 | d) /v:0.3.4 |
| | 32 | the new NSClient++ version |
| | 33 | |
| | 34 | f) /c:\\server6\share1\Nagios\servers.txt |
| | 35 | a simple text file which syntax is explained in the file itself. |
| | 36 | |
| | 37 | example line: |
| | 38 | |
| | 39 | servernama1:Y:N |
| | 40 | servername1 = name of server which should be updated or installed |
| | 41 | |
| | 42 | Y = should the existing NSC.ini file to keep? |
| | 43 | |
| | 44 | N = should the existing "scripts" folder to keep |
| | 45 | |
| | 46 | The VBScript and the config file "servers.txt" are attached here. |
| | 47 | |