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 - pouya.moradian

#1
General / Reporting Server
December 19, 2015, 08:12:24 AM
Hi,

Is there any complete instruction to installing reporting server on NetXMS 2.0 M5 ?
I've seen (https://www.netxms.org/forum/installation/install-report-server/) but i cant find these jar file:

alarm-history-1.0.0.jar
alarm-resolution-time-1.0.0.jar
alarm-resolution-time-statistics-by-users-1.0.0.jar
dci-1.0.0.jar
epp-1.0.0.jar

the download link to these file is not available any more.
Also i can't make a connection to oracle in config file.

Best regards,
Pouya
#2
Hi,

Yes, it seems we both have same problem!

Best regards,
Pouya
#3
General / Passing parameter to action from NETXMS console
December 05, 2015, 08:07:33 AM
Hi,

I've post another topic in title of action and my problem was that i could not pass parameter to an action,
after a while that problem was solved but the only way to passing parameter to client's action is from command line,
I can't pass any value to client's action via NetXMS console.

Additional information:

The action is listed in client's valid action,
the action can be execute from NetXMS console,
passing parameter to client's action is ok with server side command line.
#4
General / Re: Action
November 28, 2015, 08:56:54 AM
Hi

Thanks a lot, it works fine.
the full format of action execution command is like:

nxaction NodeIP ActionName ParameterHere  -a 'none' -e 0 -K /usr/local/var//lib/netxms/.server_key -p 4700 -w 10 -W 30

it may help someone else.
#5
General / Re: Action
November 01, 2015, 08:15:17 AM
Hi

You're right that's server side, And i can see my action is registered here !


[root@netxmslinux bin]# nxget -l 192.168.11.84 Agent.ActionList
Agent.Restart 2 "CORE"
System.Restart 2 "WinNT"
System.Shutdown 2 "WinNT"
DeviceLogAction 2 "JAVA"

Each time i use nxaction some error occur : Required argument(s) missing.
Can i have some example for using nxaction ?

My command is :
nxaction DeviceLogAction -a 'none' -e 0 -K /usr/local/var/lib/netxms/.server_key -p 4700 -w 5 -W 30

I Also tried to check each one of these option by removing them,
and it does not work.

Thanks for your reply,
Pouya
#6
General / Re: Action
October 25, 2015, 07:51:27 AM
The Action is already registered (as it name appear in node's supported action list),
but there is no nxaction binary fine in ..\NetXMS\bin in client side !
I'm using 2.0 RC 1 agent.

With best regards,
Pouya
#7
General / Re: Node ID for Push parameter
October 25, 2015, 07:40:10 AM
Hi,

Thanks for your reply,
there is just some function like this in sample code :

@Override
   public ListParameter[] getListParameters()
   {
      return new ListParameter[] {
         new ListParameterAdapter("ListParameter1", "List Description") {
            @Override
            public String[] getValue(String value)
            {
               return new String[] { "1", "2" };
            }
         }
      };
   }

how can i use this for pushing parameter to server on an event ?

With best regards,
Pouya
#8
General / Re: Action
October 19, 2015, 02:00:22 PM
Hi,

Here is my action code in some class that extends the Plugin, the other part of code are same as the sample code in  ..\netxms-snapshot-develop\src\agent\subagents\java\sample\
All of my parameters and  actions work fine in this class but passing parameter to actions is not possible and the action.txt file only contain "Action has been executed" !

Thanks
#9
General / Re: Node ID for Push parameter
October 19, 2015, 01:30:12 PM
Hi,

I'm using Runtime.exec() in java in my agent but here is same story in command prompt.

Thank you.
#10
General / Re: Node ID for Push parameter
October 17, 2015, 08:58:46 AM
Hi,

Thanks for your reply,
I got invalid object Id on using 0 as object id !

With best Regards
Pouya
#11
General / Re: Action
October 17, 2015, 08:50:47 AM
Hi,

Thanks for your reply,

I defined action in object tool, is it right? because i saw an action configuration in configuration menu strip.
Also i used {DeviceActionName arg1 arg2} in agent's command field in object tool but on execute i got : Cannot execute action on node {NodeName}: Communication failure

With Best Regards
Pouya
#12
General / Node ID for Push parameter
October 14, 2015, 02:35:30 PM
Hi

As i see for pushing parameter to server node Id and DCI name is needed.
I'm using push parameter for pushing client side event as parameter,
So i need Node Id for each node in agent code, Is there any global variable or any variable to retrieve node id in java sub agent?

Is there any better approach to push event to server side for each client(node) ?

With Best Regards
Pouya
#13
General / Custom Widget
October 13, 2015, 02:43:32 PM
Hi,

Is there any available custom widget for dashboard?
Or how can i develop one of them ?

with Best Regards
Pouya
#14
General / Action
October 11, 2015, 04:42:02 PM
Hi,

Is there any way to get data from action ?
Is there any way to pass argument to action functions?
There is a Boolean return value for each action function in java sub agent, what is it for?
And also there is some parameter (String action, String[] args) what is it for?

with best regards
Pouya