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 - Challenge

#1
General Support / Re: Agent unreachable and polled data
November 11, 2008, 11:39:01 PM
Hi Victor

As a newbie have spent the last few months learning about the capability of NetXMS. It is clear you and your development team have spent much thought and effort on its functionality and stability. Very impressed and well done..and all the best for the future as the product matures.

During my review of Forum messages I came across this feedback regarding the need to provide a "store and forward" type model for the Agents. Is this functionality available by configuring a " subagent"?. 

The reason I ask this is I have a number of desktops and servers that are not "on line' all the time (randomally hours or days off line)  and it would be great to know that the NetXMS Agent is capturing performance data while off line and be able to "push" this data to the NetXMS server when on line (ie not have the NetXMS server constantly polling for a non existant Node - given the random nature of the on-line/off line profile of the nodes I am monitoring I cannot use a defined polling schedule in the NetXMS server).

It would great if this functionality is available...Any comments appreciated. Chris
#2
Hi
Recently successfully installed NetXMS on Windows server and NetXMS agent on local PC on same home LAN.

I now have a need to monitor a family member's PC that is located many kilometres from me. It fails randomly and I wish to capture (push) performance data over time to see if I can gain some clues as to what is happening. I thought of using NetXMS to assist!
I presume I need to do the following steps (I am assuming remote monitoring to NetXMS is "technically" possible over the Internet...):
1) Install Agent on remote PC
2) Ensure remote PC firewall has port 4700 open
3) Set up another user account on my NetXMS server (how do you do this?)
4) Define DCI's that capture the data I want
5) Set up "push" mode data collection
6) Enable encryption on both Agent and Server
7) Set up the NetXMS server with a DNS name (using Dynamic DNS?)
8) Type NetXMS DNS name into Agent field (where i normally type the IP Address)

Have I summarised the steps correctly? What have I missed?  What are the risks? As you can probably guess I don't have a detailed understanding of the Internet (very basic) so any feedback appreciated. Chris


#3
Hi Victor

Sorry for the late reply. Away on holiday.  Just an quick update: NetXMS is now running ok.... :)
Steps I took were:
1) Reread all previous posts!
2) Checked dual authentication setting for SQL Express
3) Deleted Netxms user from database
4) Deleted Netxms database
5) Deleted and reinstalled Netxms .. Made sure I entered a password for DBUser ( I have a suspicion that is what my problem was...) 

Works fine!

Also I have installed NetXMS on Windows 2003  (Small Business Server) with no problem

Now into learning about NetXMS capability first hand...!

Chris
#4
Hello

Another follow-up...
I have also copied the command from the services Vista GUI in a C: commnd window and ran it manually: C:\NetXMS\bin\netxmsd.exe" --config "C:\NetXMS\etc\netxmsd.conf
And then shut it down manually using the "down" command at the C: prompt...
Result is as below..

Using configuration file "C:\NetXMS\etc\netxmsd.conf"
Configuration file OK
[14-Sep-2008 21:24:47] Database driver "mssql.ddr" loaded and initialized successfully
[14-Sep-2008 21:24:52] GSM modem on COM1: initialized successfully. Hardware ID: "".
[14-Sep-2008 21:24:53] Listening for SNMP traps on UDP socket 0.0.0.0:162
[14-Sep-2008 21:24:53] NetXMS Server started

NetXMS Server V0.2.22 Ready
Enter "help" for command list or "down" for server shutdown
System Console

netxmsd: [14-Sep-2008 21:24:53] Listening for client connections on TCP socket 0.0.0.0:4701
Proceeding with server shutdown...
[14-Sep-2008 21:25:08] NetXMS Server stopped

So seems to work ok here....but not at the Vista GUI level
Chris
#5
Hi Victor

Sorry, I should have included these in my previous post
a) netxmsd.conf contents:
#
# NetXMS Server configuration file
# Created by NetXMS Server configuration wizard at Tue Sep 09 17:54:15 2008
#
#LogFile = {syslog}
Logfile = C:\NetXMS\var\netxms.log
DBDriver = mssql.ddr
DBServer = HOMEVISTA\SQLEXPRESS
DBName = netxms_db
DBLogin = netxms
LogFailedSQLQueries = yes

b) contents of my netxms.log file

10-Sep-2008 13:33:41] Log file opened
[10-Sep-2008 13:33:41] Database driver "mssql.ddr" loaded and initialized successfully
[10-Sep-2008 13:33:45] GSM modem on COM1: initialized successfully. Hardware ID: "".
[10-Sep-2008 13:33:46] NetXMS Server started
[10-Sep-2008 13:33:46] Listening for SNMP traps on UDP socket 0.0.0.0:162
[10-Sep-2008 13:33:46] Listening for client connections on TCP socket 0.0.0.0:4701
[10-Sep-2008 13:57:50] NetXMS Server stopped
[10-Sep-2008 13:57:52] Log file closed

[10-Sep-2008 14:28:08] Log file opened
[10-Sep-2008 14:28:08] Database driver "mssql.ddr" loaded and initialized successfully
[10-Sep-2008 14:28:24] GSM modem on COM1: initialized successfully. Hardware ID: "".
[10-Sep-2008 14:28:25] Listening for SNMP traps on UDP socket 0.0.0.0:162
[10-Sep-2008 14:28:25] NetXMS Server started
[10-Sep-2008 14:28:25] NetXMS Server stopped
[10-Sep-2008 14:28:25] Listening for client connections on TCP socket 0.0.0.0:4701
[10-Sep-2008 14:28:26] Log file closed

The two different server sessions above reflect one using the command prompt the other attempting to start the server using the Vista Services GUI

c) Output of running "nxdbmgr check" command at command prompt
NetXMS Database Manager Version 0.2.22

Configuration file OK
Checking database:
* Checking node objects...                                            [PASSED]
* Checking interface objects...                                       [PASSED]
* Checking network service objects...                                 [PASSED]
* Checking cluster objects...                                         [PASSED]
* Checking object properties...                                       [PASSED]
* Checking event processing policy...                                 [PASSED]
Database doesn't contain any errors
Database check completed

Is there a clue here that helps?
Regards  Chris
#6
Hi

I am a newbie to this forum.. Attempting to install Netxms under Vista. Installation proceeds successfully until I attempted to log-in.: Symthoms: " Cannot  connect to server."

I have determined tthe following:
1) The Server core service is not running in the list of Services under Vista
2) If I attempt to run the service Vista error reports that the "service has not responded in a timely manner"
3) If I go into a Command Liine window and attempt to start the service from here it "starts" normally with no error messages I have used the -D option to to try and get more messages as well...
4) Looking at the NetXms log I see that that the only difference is:
a) launching the service from the Vista service manager there is an extra entry in the log below "server is started" that is named the "server is stopped" !
b) launching the service from the command line there is no "server stopped line" entry in the log

It is so frustrating that I am so close to being able to use the application....!Any advice on how I can diagnose what is causing the problem would be appreciated...  Chris