NRDS_Win_64.exe Silent Install

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
thernand
Posts: 8
Joined: Tue Jun 03, 2014 11:19 am

NRDS_Win_64.exe Silent Install

Post by thernand »

Hi,

A few weeks ago I opened in the general forum under this same heading a request for info on NRDS_Win_64.exe silent install options. mainly on a tag to change the destination of the install via the command line. it was reported to me that this function if not available, then a new release will need to produced. This has now become an issue. For testing purposes the inactive install was fine but now due to security requirements, the ability to script the install for automation for cloud server deployment, and the requirement to load this on another drive instead of the C system drive on windows. I need to know when the next release of NRDS_Win_64.exe that will support a command line tag to change the destination of the install.

Thanks
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRDS_Win_64.exe Silent Install

Post by lmiltchev »

We have an internal feature request, posted already (TASK ID 3938). It's hard to say when/if this functionality will be implemented. It all depends on the priority of the project and the length of our developers' TODO list. If you don't want to wait, you can contact our sales team at [email protected] and request a quote for custom development.
Be sure to check out our Knowledgebase for helpful articles and solutions!
thernand
Posts: 8
Joined: Tue Jun 03, 2014 11:19 am

Re: NRDS_Win_64.exe Silent Install

Post by thernand »

Hi,

Can I get a status on this as to when and if this will be implemented or updated?

Thanks
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NRDS_Win_64.exe Silent Install

Post by slansing »

It looks like as of yet, it has not been picked up as a feature addition to be worked on.
thernand
Posts: 8
Joined: Tue Jun 03, 2014 11:19 am

Re: NRDS_Win_64.exe Silent Install

Post by thernand »

Hey

Is there an update on this? Will we ever be able to do a silent install to a target drive and directory! I checked other tools and they have the same issue. I need this resolved because I have to deploy to 17000+ windows servers and make this install a part of the win build process for my company.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NRDS_Win_64.exe Silent Install

Post by ssax »

There is not currently a way to do this and it will still prompt for administrative privileges.

You could edit the /usr/local/nrdp/win_clients/build_files/NRDS_Win_64.nsi and add/change:

Code: Select all

;The default installation directory
InstallDir C:\YOUR\PATH\Nagios\NRDS_Win

Code: Select all

;Settings
ShowInstDetails show
SilentInstall silent
Which will silent install but the problem comes with what the installer is looking for.

You would have to edit that nsi file and have it grab the hostname and set the interval because it's expecting a different host name per machine.

You could add/change it to something like:

Code: Select all

;       !insertmacro INSTALLOPTIONS_READ $3 "field.ini" "Field 4" "State"
;       !insertmacro INSTALLOPTIONS_READ $4 "field.ini" "Field 5" "State"
        ; Set Hostname
        ReadRegStr $3 HKLM "SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName" "ComputerName"
        StrCmp $3 "" 0 win9x
        Goto done
  win9x:
        ReadRegStr $3 HKLM "SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName" "ComputerName"
  done:

        ; Set Interval
        StrCpy $4 5
Which would set the hostname from the registry and then set the interval to 5 or whatever you want.
Locked