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

#16
General Support / problem netxms 2.2.3 console
February 12, 2018, 03:25:02 PM
Hi, i have upgraded windows console from 2.2.1 to 2.2.3 and now i have this error on login

"org/betxms/base/GeoLocation"

i have upgraded also a server and webconsole and these work fine

thank you

Andrea
#17
thank you for reply, i have created the script and now works fine

i share my code if anyone is interested

ExternalTable=VMList:instanceColumns=Index;description=Tabella lista VM;separator=|:powershell C:\NetXMS\script\vm.ps1

and this is my script

$s = "Index|Name|State|Status";
$i = 1;
$vm = Get-VM;
ForEach($item in $vm)
{
  $s = $s + "`n" + $i + "|" + $($item.Name) + "|" + $($item.State) + "|" + $($item.Status) ;
  $i = $i +1;
}
echo $s;


regards

Andrea
#18
i have read about externaltable command, but with powershell i don't know what to use as column separator.

I have thought also to use a csv file generate from powershell and copied on netxms server, but i don't found anything about it on user manual and on forum

regards

Andrea
#19
General Support / Re: linux agent VMGR non found
October 12, 2017, 05:51:53 PM
ok, i will wait for this features, it's very important for me because i have more the 100 vm to monitor.
#20
General Support / Re: linux agent VMGR non found
October 11, 2017, 01:00:14 PM
i found the problem, i need to use the host name instead the *. With vmware works fine, but with hyperv i have a lot of error

[11-Oct-2017 09:21:44.312] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetAutostart
[11-Oct-2017 09:21:44.312] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetControlInfo
[11-Oct-2017 09:21:44.312] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetTime
[11-Oct-2017 09:21:44.699] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetAutostart
[11-Oct-2017 09:21:44.699] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetControlInfo
[11-Oct-2017 09:21:44.699] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetTime
[11-Oct-2017 09:21:45.074] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetAutostart
[11-Oct-2017 09:21:45.074] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetControlInfo
[11-Oct-2017 09:21:45.074] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetTime
[11-Oct-2017 09:21:45.451] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetAutostart
[11-Oct-2017 09:21:45.451] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetControlInfo
[11-Oct-2017 09:21:45.451] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetTime
[11-Oct-2017 09:21:45.823] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetAutostart
[11-Oct-2017 09:21:45.823] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetControlInfo
[11-Oct-2017 09:21:45.823] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetTime
[11-Oct-2017 09:21:46.225] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetAutostart
[11-Oct-2017 09:21:46.225] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetControlInfo
[11-Oct-2017 09:21:46.225] [ERROR] VMGR: this function is not supported by the connection driver: virDomainGetTime

i have compiled correctly libvirt with hyper-v support.

thanks

Andrea
#21
General Support / Re: linux agent VMGR non found
October 10, 2017, 06:01:18 PM
ok, i configured a esx server

10-Oct-2017 11:40:24.813] VMGR: VM successfully added: URL "esx://10.39.1.30/?no_verify=1", name "test"
[10-Oct-2017 11:40:24.813] [DEBUG] VMGR: subagent initialized
[10-Oct-2017 11:40:24.813] [INFO ] Subagent "VMGR" (vmgr.nsm) loaded successfully (version 2.1.1)

but it return always error. On nxagentd.log i see Getdatavalue() with error.

[10-Oct-2017 11:53:23.316] [DEBUG] [CS-0(1)] Received message CMD_GET_PARAMETER (961)
[10-Oct-2017 11:53:23.316] [DEBUG] [CS-0(1)] Requesting parameter "VMGR.Host.CPU.Model(*)"
[10-Oct-2017 11:53:23.316] [DEBUG] [CS-0(1)] GetParameterValue(): result is 921 (INTERNAL_ERROR)
[10-Oct-2017 11:53:23.316] [DEBUG] [CS-0(1)] Sending message CMD_REQUEST_COMPLETED (ID 961; size 32; uncompressed)
[10-Oct-2017 11:53:23.316] [DEBUG] [CS-0(1)] Outgoing message dump:

wich is the problem?

thanks

Andrea
#22
thank you, works fine
#23
General Support / Re: linux agent VMGR non found
October 10, 2017, 12:59:04 PM
resolved, i forgot --with-vmgr parameter

#24
General Support / linux agent VMGR non found
October 10, 2017, 11:14:23 AM
hi, i have installed agent on linux machine (centos 7) but on folcder  /usr/local/lib/netxms i can't find vmgr.nsm.

why? i need a special parameter during installation?

thank you

Andrea
#25
Hi, i done some research on forum to understand how to retrieve a table from powershell's script and create a dci.

I found that dci's table doesn't support powershell and i can user "externalparameterprovider" on agent's file conf. But how?

In my case i need to retrieve a list of virtual machine from hyper-v cluster with powershell command Get-vm. My question is how can translate columns output from powershell script and traslate on table columns on dci's table?

thank you

Andrea

#26
thank you for reply, i will try

regards

Andrea
#27
hi, i have installed netxm and i have added some cisco 3750 switchs. On interface down policy i have configured an email alarm.

The problem is that now i receive a lot of email when users shutdown their pc. Can i create (and how) a policy to monitor only some ports?

thanks

Andrea