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

#61
General Support / Re: Install Agent 2.2.1 fails
June 20, 2018, 03:27:41 PM

Hello @all,

unfortunately the above described behaviour is still present. I tried to update from Windows Agent 2.2.4 (64bit) to Windows Agent 2.2.6 (64bit) but i have no chance to update the agent. Error is the same as described above. I had to reboot all our 30x servers to install the NetXMS agent.

Has anyone more infos or workaround for this problem, please?

Greetings
Marco

----
Running NetXMS Server 2.2.6 64bit on Windows 7 / Agents are at V2.2.4
#62
General Support / Re: Logwatch file lock
May 02, 2018, 10:16:21 PM

I asked because I still had the same problems with the agent update from V2.2.3 to V2.2.4 that I had described here

https://www.netxms.org/forum/installation/install-agent-2-2-1-fails/


Maybe i had same Problem at Agent Update as the user who has opened this Thread:

https://www.netxms.org/forum/installation/upgrading-agents/


Greets
Marco
#63
General Support / Re: Logwatch file lock
May 02, 2018, 09:11:30 PM
Hi Victor,

does this option also apply to access to the Windows event log?

Greets
Marco


#64
General Support / Re: Upgrading agents
April 10, 2018, 02:04:33 PM

Maybe it's same behaviour (for Windows systems) as described here:

https://www.netxms.org/forum/installation/install-agent-2-2-1-fails/msg23469/#msg23469


For me i stopped shedule and eventlog services and starter afterwards. After that, i can install NetXMS Agent.

sc stop NetXMSAgentdW32
sc stop Schedule
sc stop eventlog
sc start eventlog
sc start Schedule

After that running the NetXMS installer.


Greets
Marco
#65
General Support / Re: Install Agent 2.2.1 fails
December 08, 2017, 01:29:11 PM
We are trying to upgrade agents running at V2.1.2


#66
General Support / Re: Install Agent 2.2.1 fails
December 08, 2017, 01:03:19 PM

Hello Victor,

thanx for the fast response. If i can help with more informations or logfiles please let me know...

Greets
Marco
#67
General Support / Install Agent 2.2.1 fails
December 08, 2017, 11:54:30 AM
Hello @all,

if i want to install the Agent 2.2.1 (x64) there are several error messages (please see the attachments). after i quit the installer i take a look at the process explorer (please see attachment).

Here i can see an open handle or file access from the svchost.exe at the nxagent.exe (NetXMS service was quit before).  I can't restart the windows eventlog service in cause of the dependency from scheduler. I could only install the agent after a server reboot.

My first idea: We use NetXMS to trigger an alarm from windows event log with the logwatch subagent. Could there be the problem?

At the moment i tried at 4x Servers (Windows Server 2008 R2 64bit) to install NetXMS Agent. Two via NetXMS Package Manager and two via a manual execution of the agent installer. On all system i have the same behaviour.

Is there anything i can do?


Greets
Marco
#68

Hello normalcy,

thanx for the feedback. I try to get some debug logs from client and server. Which debug level should i use?

Greets
Marco
#69
Hello @all,

if i run a configuratoin poll at a node (Windows Server 2008 R2, 64bit, NetXMS Agent 2.1.2) NetXMS can not read the Windows Performance Counters list. The configuration poll shows the follwing info:

[09.11.2017 08:12:12] **** Poll request sent to server ****
[09.11.2017 08:12:12] Poll request accepted
[09.11.2017 08:12:12] Starting configuration poll for node XXXXXXXXX
[09.11.2017 08:12:12] Checking node's capabilities...
[09.11.2017 08:12:12]    Checking NetXMS agent...
[09.11.2017 08:12:12]    NetXMS native agent is active
[09.11.2017 08:12:12]    Reading list of available Windows Performance Counters...
[09.11.2017 08:12:16]    unable to get Windows Performance Counters list

[09.11.2017 08:12:20] Capability check finished
[09.11.2017 08:12:20] Checking interface configuration...
[09.11.2017 08:12:22] Interface configuration check finished
[09.11.2017 08:12:22] Checking node name
[09.11.2017 08:12:22] Node name is OK
[09.11.2017 08:12:23] Reading list of installed software packages
[09.11.2017 08:12:23] Got information about 38 installed software packages
[09.11.2017 08:12:23] Finished configuration poll for node XXXXXXXXX
[09.11.2017 08:12:23] Node configuration was not changed after poll
[09.11.2017 08:12:23] **** Poll completed successfully ****

The DCI's from this node based on "Windows Performance Counters" are all functional and i can (manually) create new DCIs based on "Windows Performance Counters". But if i want to create a DCI based on "Windows Performance Counters" and use the "Select" button (DCI Properties Windows > General > Data Parameter) the following Windows ("Select Performance Counters") is empty.

We have this behaviour at 3/4 of all our Windows nodes. For the rest of our servers, the Windows Performance Counter query works without problems. All Machines are VMWare VM's, Windows Server 2008 R2 64bit, Updates/Patches are up to date.

We use NetXMS V2.1.2 (Server and Agent). We use NetXMS since V1.0.27. Unfortunately, I can't tell exactly from which version or event (NetXMS Version, Windows Update, etc.) the Windows Performance Counters are not working anymore.

Any help would be appreciated.

Greetings
Marco





#70
General Support / Re: SNMP Walk - Access Denied
October 27, 2017, 11:46:46 AM

Hello Eriks,

thanks for the hint. I set the access rights at "infrastrukture services" and it works... :-)

Thanks a lot ...

Greets
Marco
#71
General Support / SNMP Walk - Access Denied
October 26, 2017, 06:55:19 PM

Hello @all,

every time i want to do a snmp walk with the mib-explorer i get the error message " 'Walk MIB tree' has encountered a problem. Cannot do SNMP MIB tree walk: Access Denied". I get this error everytime at every node i want to do a tree walk.

Using NetXMS V2.1.2.

What can i do? Any help would be appreciated.

Greetings
Marco
#72

Hello Victor,

thanks for the clarification.

Greetings
Marco
#73
Hello @all,

i use the following script as automatic apply rule in a template (NetXMS V2.1.2):


if ( (! $node->isAgent) && (! $node->platformName ~= "windows.*") ) return false;

table = AgentReadTable($node, "System.Services");
if ( table == null ) return false;

colName = table->getColumnIndex("NAME");
for (currentRow = 0; currentRow < table->rowCount; currentRow++)
{
if ( table->get(currentRow, colName) == "DNS" ) return true;
}

return false;



Everytime the script is processed automaticly at a node the following event is thrown:

   Script (Template::Server Service DNS::730) execution error: Error 4 in line 1: Bad arithmetic conversion

but the script is proccessed correctly.


If i create this script in script library and test the script with "Execute Server Script" with a node, there is no error...

Where is my fault?  Thanks for helping me...


Greets
Marco

#74

Hello Victor,

thanks for the examples. I changed as described and it worked. Thanks.

Best regards,
Marco
#75

Actual theses are the policies:


"Agent Master Windows" policie:

<config>
   <agent>
      <MasterServers>XX.XX.XX.XX</MasterServers>
      <ConfigIncludeDir>C:\NetXMS\etc\nxagentd.conf.d</ConfigIncludeDir>
      <LogFile>{syslog}</LogFile>
      <FileStore>C:\NetXMS\var</FileStore>
      <SubAgent>winperf.nsm</SubAgent>
   </agent>
</config>



"Agent Config Eventlog Windows" policie:

<config>
   <agent>
      <SubAgent>logwatch.nsm</SubAgent>
   </agent>
   <logwatch>
      <Parser>c:\netxms\var\logwatch_win_eventlog_system_parser.xml</Parser>
      <Parser>c:\netxms\var\logwatch_win_eventlog_application_parser.xml</Parser>
   </logwatch>
</config>



In the "Agent Config Eventlog Windows" i tried to change the <agent> in <core>. This results in a agent crash and the logwatch subagent are still not showing, so i reverted back to <agent>.

In which section i must change the <agent> in <core>?


Best regards,
Marco