Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - alike767

#1
That was the issue.  Somehow admin and admins were removed from permissions on the Infrastructure and Network containers.  I added permissions back in and now my account has access.

Thank you very much. 
#2
General Support / Re: Missing Infrastructure / Network
February 27, 2018, 06:38:29 PM
Sorry to bump, but, I have spend a bit of time on this and can't figure out anything.  I have removed myself and admin from groups and given all permissions to both accounts and don't have access to everything.

I have to login as System to see any of my nodes.

Thanks for any further help on this. 
#3
General Support / Re: Missing Infrastructure / Network
February 23, 2018, 07:02:14 PM
That was it. 

When I login as admin (local) I still have the same issues.  I noticed that on 'Admins' (Group), not all 'System Rights' were checked.  I clicked restore to default and it didn't change what was checked.  I manually checked everything that was checked for 'admin' (local), which was everything except 'View all alarm categories' and 'Schedule file upload'.  I logged back in and still having the same issues.

I normally login with an AD account.  My account is in the 'Admins' (Group) under my System Rights, nothing is checked. 

So, even though most everything is checked on admin (user) and Admins (group), I still have no access. 

On my user account where it says 'Authentication', it changes from 'Password' to 'Unknown' as soon as put my account into the 'Admins' (Group). 

Should everything be checked form both admin and admins?  If I am in admins, then should my account have all checks or would it be blank from inheritance of the Admins group?
#4
General Support / Missing Infrastructure / Network
February 23, 2018, 02:39:10 AM
Today I started to have an issue where I created a new node and the node instantly disappeared.  I tried to find it and I noticed that the Infrastructure and Network sections are missing on the left hand side.  I also seemingly, even with admin, have permission problems.  I did a search for the newly created node, and it displayed in the search results.  Everything I tried to do to that node, poll, configure, etc. gave me Access Denied errors.

I don't know if all of this is related, nor what I did to cause it.  I am the only person who logs into this system and it was working earlier today.  I was just creating DCI objects on some nodes.  I then went to create a new node, which again, it just disappeared.  I then noticed that Infrastructure and Network were missing from the GUI.

Any ideas on how to get things back to normal?

Thanks.  Screenshot is attached to show the items missing in the GUI. 

#5
General Support / Re: Run Script to get DCI Data
February 21, 2018, 02:24:04 AM
That was it!!

Thanks for your patience on this.  I know it took awhile. 
#6
General Support / Re: Run Script to get DCI Data
February 16, 2018, 07:07:36 PM
I noticed that on my NetXMS server, where the agent is installed, and the machine I want to be a proxy, where it says isagent it says no.  Is that a display bug, or is my NetXMS server not seeing itself as an agent.  As shown above, my agent service is running. 

Could this be the issue?
#7
General Support / Re: Run Script to get DCI Data
February 08, 2018, 12:49:04 AM
nxagentd.conf from NetXMS Agent

# Log File
LogFile=/var/log/nxagentd
DebugLevel=6

# IP white list, can contain multiple records separated by comma.
# CIDR notation supported for subnets.
MasterServers=127.0.0.0/8

SubAgent = ssh.nsm


cat /var/log/nxagentd | grep ssh from NetXMS Agent which acts as Proxy

2018.02.01 13:33:25.204 *E* Error loading subagent module "ssh.nsm": /usr/lib/x86_64-linux-gnu/netxms/ssh.nsm: cannot open shared object file: No such file or directory
2018.02.06 09:37:39.437 *E* Error loading subagent module "ssh.nsm": /usr/lib/x86_64-linux-gnu/netxms/ssh.nsm: cannot open shared object file: No such file or directory
2018.02.06 13:57:35.483 *I* Subagent "SSH" (ssh.nsm) loaded successfully (version 2.2.3)
2018.02.06 15:02:40.687 *I* Subagent "SSH" (ssh.nsm) loaded successfully (version 2.2.3)
2018.02.07 16:05:19.093 *I* Subagent "SSH" (ssh.nsm) loaded successfully (version 2.2.3)
2018.02.07 16:09:25.185 *D* SSH: using libssh version 0.6.1/openssl/zlib
2018.02.07 16:09:25.185 *I* Subagent "SSH" (ssh.nsm) loaded successfully (version 2.2.3)


Am I correct that you were not asking for any logs on the server that the script is stored?  That doesn't have the agent on it as I didn't think it was needed. 

Thanks for your continued help and patience on this.
#8
General Support / Re: Run Script to get DCI Data
February 06, 2018, 11:08:33 PM
I'm up to date now and the ssh.nsm is loaded.

On the properties for my client where I want to run the script, I have SSH with proper credentials and the Proxy set to my NetXMS server.

On the General Tab of the DCI for my client I have Origin SSH, Data Type String, Parameter uname -a.

I have not done anything to the NetXMS server other than confirm ssh.nsm is loaded.

I get a "Not supported" for the DCI configuration.  Have I done all of the steps?

#9
General Support / Re: Run Script to get DCI Data
February 06, 2018, 05:42:54 PM
I'm running Ubuntu 14.04.5 and did an apt-get update/upgrade.

dpkg -s netxms-agent is 2.2.2-1.

Do I need to update OS or source list to get 2.3? 
#10
General Support / Re: Run Script to get DCI Data
February 05, 2018, 11:02:17 PM
Thanks for checking. 

Is it possible to make that file available via FTP or another method?  Would it be as simple as downloading a single file and putting it in the right place?
#11
General Support / Re: Run Script to get DCI Data
February 01, 2018, 09:52:53 PM
I don't have the ssh.nsm file on my system. 

I believe I am running 2.2.2 on Ubuntu as that is the console version I am connecting with.

How do I get the ssh.nsm on my server?  I want the NetXMS server running the agent to be the proxy. 
#12
General Support / Re: Run Script to get DCI Data
January 31, 2018, 11:40:30 PM
What is the SSH subagent and how do I load it or configure it.  What machine does that go on?  The Proxy, or the machine I want to SSH into?  Maybe that is the last step to getting this to work.  My DCI came back unsupported. 

I only setup the Trusted Node because another thread had it.  I'll remove that setting. 
#13
General Support / Re: Run Script to get DCI Data
January 31, 2018, 07:36:31 PM
I don't remember the reason why, but I have "CheckTrustedNodes" set to "1".  Is this possible with it set to "1"?

I found one article on SSH SubAgent and I am not sure I am understanding the right information.  I think it said to setup an "Action".  So under "Configuration - Actions Configuration", I created an action to "Execute command on management server".  For "Command", I put uname -a just for a test.

If this is the right way to go, how do I trigger that "Action"?  If this is the wrong approach, then can I get a more detailed explanation on setting up the SSH SubAgent?

Thanks
#14
General Support / Re: Run Script to get DCI Data
January 30, 2018, 11:40:01 PM
I hope on the right path for using native SSH-based DCI. 

On my license server, the server where I want the command to run, I don't have NetXMS Agent installed.  I right click on it and go to Properties and under 'Communications - SSH', I put in the username and password for a user that can SSH into the license server.  Under Proxy, I put in my NetXMS server because that server has the NetXMS Agent installed.  It is the only Linux node I have with NetXMS Agent installed.  All other nodes just have SNMP.

On my NetXMS Server (with the agent installed) I right click on that node and when to Trusted Nodes.  Here I entered the License Server, the server I want to run code on.

Lastly I created a Test DCI.  Origin SSH.  Data Type String.  Parameter uname -a.

This is not working.  Am I even going about this the right way?

Thanks




#15
General Support / Re: Run Script to get DCI Data
January 30, 2018, 12:47:30 AM
I found information on ExternalParameter and ExternalParameterProvider.  On my systems, I currently don't have the NetXMS agent, I have only SNMP agent. 

Can the SSH-based DCI be used with SNMP only or does it need the NetXMS agent?

I did a search on the forum and web for SSH-based DCI and didn't see a good explanation.  When I go into the DCI and choose "Origin - SSH", I don't see where to enter any kind of script.  Is this the right place for SSH-based DCI or is the process different?