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

#1
General Support / Re: LDAP Configuration Error
December 14, 2014, 05:50:24 PM
thank you for the reply,
after updating the missing parameters as below, netxms didn't crash however it keeps showing the following:

[DEBUG] LDAPConnection::initLDAP(): Connecting to LDAP server
[DEBUG] LDAPConnection::loginLDAP(): LDAP could not login. Error Code: Server Down


i made sure there is no firewall blocking connection between LDAP server and Netxms Server

the following is my server configuration parameters:

LdapConnectionString,   ldap://10.37.2.77:389
LdapGroupClass,   BABTest\<group>
LdapMappingDescription,   description
LdapMappingFullName,   displayName
LdapMappingName,   displayName
LdapSearchBase,   CN=BABTest\Monitor,OU=Service Accounts,OU=BAB,OU=Domainusers,DC=BABTest,DC=com
LdapSearchFilter,   (objectClass=*)
LdapSyncInterval,   1440
LdapSyncUser,   BABTest\<username>
LdapSyncUserPassword,   ****
LdapUserClass,   c901076
LdapUserDeleteAction,   0



could you please notify if there is still anything missing?
i tried several changes in the parameters without any luck

Regards,
Imad.
#2
General Support / LDAP Configuration Error
December 11, 2014, 07:37:26 PM
Hey,

i installed netxms server V 1.2.16 on windows server 2012R2.
i'm trying to make LDAP configuration and when trying to check the debug log on server command it crashed due to connection with netxms server lost as follow

eventually LDAP configuration was not enabled and i couldnt use any LDAP user able to connect netxms server.
i used the following configuration:

LdapConnectionString   ldap://10.37.2.77:389   No
LdapGroupClass   group   No
LdapMappingDescription   description   No
LdapMappingFullName   displayName   No
LdapMappingName   displayName   No
LdapSearchBase   OU=Domainusers,DC=babtest,DC=com   No
LdapSearchFilter   (objectClass=*)   No
LdapSyncInterval   1440   No
LdapSyncUser      No
LdapSyncUserPassword      No
LdapUserClass   displayName   No
LdapUserDeleteAction   0   No




is there any missing configuration that need to fill and preventing the netxms server to crash ?

Regards,
Imad.
#3
General Support / Re: 2 agents on the same node
October 26, 2014, 11:08:43 AM
Hi

i event change
### External Sub Agent
ExternalSubagent=APP1
ExternalSubagent=APP2

to the name of the application
ExternalSubagent=istsubagent.so
ExternalSubagent=istsubagent_1.so


and still it didnt work... is there anything i miss ??
#4
General Support / Re: 2 agents on the same node
October 23, 2014, 11:45:15 AM
Hi

i created as mentioned nxagentd.master.conf

QuotemasterServers = 10.130.71.31,10.130.71.32
DebugLevel=7
LogFile = /apps/ist76AA/netxms-bin/log/Master_agent.log
FileStore = /tmp

### External Sub Agent
ExternalSubagent=APP1
ExternalSubagent=APP2

and nxagentd.app1.conf

QuoteExternalMasterAgent=APP1
DebugLevel=7
LogFile = /apps/ist76AA/netxms-bin/log/agent.log
FileStore = /tmp

## Subagent IST
Subagent = /apps/ist76AA/netxms-1.1.1/subagent/istsubagent.so

and nxagentd.app2.conf

QuoteExternalMasterAgent=APP2
DebugLevel=7
LogFile = /apps/ist76LB/netxms-bin/log/agent.log
FileStore = /tmp

## Subagent L7
Subagent = /apps/ist76LB/netxms-1.1.1/subagent/istsubagent_1.so

and i run them as follow:

QuotePREPRODIST02_ist76AA:/apps/ist76AA/netxms-bin/bin> nxagentd -c /apps/ist76AA/netxms-bin/etc/nxagentd.master.conf -d
PREPRODIST02_ist76AA:/apps/ist76AA/netxms-bin/bin>  nxagentd -c /apps/ist76AA/netxms-bin/etc/nxagentd.app1.conf -d
PREPRODIST02_ist76LB:/apps/ist76LB/netxms-bin/bin>  nxagentd -c /apps/ist76LB/netxms-bin/etc/nxagentd.app2.conf -d

however the logs shows that whenever any agent.app1 or app2 try to run the port is already in use:
QuoteUnable to bind socket: Address already in use

attached are the debugs.

should i run each agent on different port ?
#5
General Support / New Dashboard Forms
October 16, 2014, 04:22:16 PM
Dears,

1- is there any way can show a static value as line in a bar chart or tube chart as the picture below ? if not could it be customized?

2- can the value of each bar chart or tube chart be displayed above it? or whenever the mouse is near to it or on click?? if not can it be customized ? or included for the next release ?

3- how can i create a LED or status dashboard for DCI having return values only 0/1 for example 0 will be red LED and 1 green LED??
#6
General Support / Re: Table DCI parameters
October 16, 2014, 04:09:58 PM
Thank you Alex,

Thanks a lot, i found the problem, in file nms_agent.h it was:

Quotetypedef struct
{
   TCHAR name[MAX_PARAM_NAME];
   LONG (* handler)(const TCHAR *, const TCHAR *, Table *);
   const TCHAR *arg;
} NETXMS_SUBAGENT_TABLE;

instead of being

Quotetypedef struct
{
   TCHAR name[MAX_PARAM_NAME];
   LONG (* handler)(const TCHAR *, const TCHAR *, Table *);
   const TCHAR *arg;
   TCHAR instanceColumns[MAX_COLUMN_NAME * MAX_INSTANCE_COLUMNS];
   TCHAR description[MAX_DB_STRING];
} NETXMS_SUBAGENT_TABLE;
#7
General Support / Table DCI parameters
October 15, 2014, 07:42:07 PM
Hi,

I'm trying to write Table DCI under AIX agent, but i'm getting disorder when it's showed on Netxms server side while trying to add this table from DCIs:

below is how I'm getting the disorder of the DCIs table where it shows that available tables are shown under name, instance column and description instead of just being under Name:

and I'm not facing the same form for single parameter:

I defined NETXMS_SUBAGENT_TABLE and NETXMS_SUBAGENT_PARAM on AIX as below (if I try to use the same number of parameters for NETXMS_SUBAGENT_TABLE and NETXMS_SUBAGENT_PARAM , I got compilation error of parameters):


Quotestatic NETXMS_SUBAGENT_TABLE m_tables[] =
{
{ "Switch.TopReadTablesWork(*)", H_TOP_READ_TABLES_WORK, NULL } ,
{ "Switch.Test1", H_TABLE_TEST, NULL } ,
{ "Switch.Test2", H_TABLE_TEST, NULL } ,
{ "Switch.Test3", H_TABLE_TEST, NULL }
};

static NETXMS_SUBAGENT_PARAM m_parameters[] =
{

{ "Switch.SrcVersion", H_Version, NULL,DCI_DT_STRING, "Source long version" },
{ "Switch.Echo(*)", H_Echo, NULL,DCI_DT_STRING, "Echoes string back" },

Can anyone helps me out of the exact format and type of NETXMS_SUBAGENT_TABLE ???

Thanks in advance
#8
General Support / Re: 2 agents on the same node
October 01, 2014, 10:30:46 PM
Thank you Alex for the quick reply,
I have the following questions:

1-does this require a specific AIX agent version?
2-nxagentd.master.conf should be configured on both users? or on 1 user?
3- when starting the them all... should each agent be running from its user? because when I tried [su user1 -c "nxagentd -c nxagentd.app1.conf -d"] it requested the user1 password.
#9
General Support / 2 agents on the same node
September 30, 2014, 10:08:22 PM
hi,

is it possible to have 2 agents on AIX server sharing the same IP ?
I tried to create 2 Node on netxms server for the same IP but it didn't allow it saying its locked.
I need to monitor AIX for 2 users each one has specific privileges and don't share the same permissions.
If I cannot create 2 nodes from Netxms Server side, how can I collect data from both agents ?

P.S: the agents are on AIX and the netxms server is on Windows.

Regards,
Imad.
#10
Feature Requests / Conditional Dashboard
December 26, 2013, 11:47:24 AM
hello,

I have a bar chart dashboard that calls many DCIs (where the returned values is between 0 and 20).
I want the dashboard to show only the DCIs that have a value less then 10.
is there any way to make this dashboard shows only the DCIs that have a returned value less then 10, instead of monitoring all the DCIs?

Regards,
Imad.
#11
General Support / Re: DCI Parameter Unavailable
December 19, 2011, 09:40:11 AM
did you install the agent ?
-> yes
if so, did the server discovered the node and the agent ?
->the node status poll shows that the node is connected
if so, did you refreshed the console ?
-> yes
did you configured the agent ?
-> the node configuration poll shows the node name is OK
did you check that the agent is running
-> yes
try copying the agent configuration from the working node to the failed one and restart th agent.
maybe closing and opening the console will help.
-> done ...
and i still facing the same issue !!
#12
General Support / Showing Graph on Web Service
December 19, 2011, 09:11:52 AM
Hi,
after running NetXMS via web server, i am able to see an Overview, the alarms, the objects, and under the objects i am able to have an overview and alarms and DataView that shows the activated node.

once i add a line chart to a node in my console, i am not able to check this chart from the web server although under the DataView their is a 'show the graph' icon.

any idea how to activate this icon ?
#13
General Support / DCI Parameter Unavailable
December 18, 2011, 05:39:00 PM
hello,

i downloaded NetXMS on my laptop and try to add new DCI, but when i select parameter i didnt find any available parameter that have NetXMS as Origin. (while i download the same components on another machine and i was able to add all the default parameter like System.Memory.Physical.Total or System.Platform ... )

any help ?