Yet another NRDS question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Yet another NRDS question

Post by BanditBBS »

Ok, I installed NRDS on a server and chose not to install the scheduled task. The reasons are:

1.) We use BMC Control-M to schedule jobs
2.) We instantly receive notifications if a job fails to run

So, with that being said, it isn't working. Does the user running the vbs script have to be an admin? The user that Control-M logs in as is not a member of the admin group. if we login as our admin accounts and dbl-click the vbs, it runs just fine.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Yet another NRDS question

Post by scottwilkerson »

NRDS expects to be run as nagios user
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Yet another NRDS question

Post by BanditBBS »

Scott, really?

Both times I have installed on a Windows machine, the scheduled task is set to run as "SYSTEM" and not a user.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Yet another NRDS question

Post by scottwilkerson »

OHHHH! :oops: I though you were installing *nix version of NRDS...

I don't believe it needs to be any special user, but the user does need permissions to access the files...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Yet another NRDS question

Post by BanditBBS »

Geez Scott, I only said "scheduled task" and "vb script" in my opening post :roll: LOL

Perhaps I just figured out the issue though. I wanted to test at home as I really want this issue resolved and I noticed a glaring difference.

1.)At home I run 2012r2.7 and when I download the installer and try to install it automatically passes the token, config name and other variables, so all I have to fill in is host name and interval.
At work, yeah, that doesn't happen, I have to fill in every field when installing the client

2.)At home the vbs script is a MUCH newer version that the one at work. At home it is stable version 1.11. At work it is R3.1.

Obviously, I have an older version at work, (on all my servers), what is the upgrade process? Also, will that resolve the auto filling in of the variables during install?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Yet another NRDS question

Post by scottwilkerson »

Upgrade process would be as follows.

Download 1.4 of the component and install through Admin -> Manage components
http://assets.nagios.com/downloads/nagi ... anager.zip

Then you will likely need to run the following on the XI server (it will display this in the description)

Code: Select all

cd /usr/local/nagiosxi/html/includes/components/nrdsconfigmanager 
chmod +x install.sh
./install.sh
Finally, you will need to recreate the download package from
Admin -> NRDS Config Manager -> Download Client

and install on client...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Yet another NRDS question

Post by BanditBBS »

Component already 1.4 across all my XI servers. (I tend to keep up on component versions)

I tried running the install.sh and got "NRDS already installed"

Any ideas?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Yet another NRDS question

Post by tmcdonald »

rm /usr/local/nagiosxi/html/includes/components/nrdsconfigmanager/installed.nrds
Former Nagios employee
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Yet another NRDS question

Post by BanditBBS »

tmcdonald wrote:rm /usr/local/nagiosxi/html/includes/components/nrdsconfigmanager/installed.nrds
Yay Trevor! :)

Ok, so that allowed me to install NRDS again and I tested an install, it now passes the variables to the installer properly. I'll test if my job scheduler works tomorrow(kinda woke up with no water today, didn't go into work :x ).
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Yet another NRDS question

Post by tmcdonald »

BanditBBS wrote:Yay Trevor! :)
Screenshotted and going on a shirt which I will wear to NWC 2014



On topic: We'll catch up with you tomorrow. Just keeping the thread off our "TODO" dashboard.



EDIT: We're post-buddies!
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Locked