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

#46
General Support / Re: Issue with execution of Actions
November 09, 2010, 01:02:09 PM
Seems like you have to put the full path of the command... i.e. not "touch" but "/bin/touch".
Now working on agent with action performed on agent.

Br,

Jdamien
#47
General Support / Issue with execution of Actions
November 09, 2010, 12:52:16 PM
Hi,

It seems I have some problems to get my "Actions" executed.
I'm currently running server 1.0.6 with agent 1.0.6 on this server. Another node is running agent 1.0.4.

A simple action is defined in both nodes config file:
Server node:
SubAgent = /usr/local/netxms/lib/libnsm_linux.so
Action = testjd:touch jdtest.txt

Agent node:
SubAgent = /opt/netxms/lib/libnsm_linux.so
Action = testjd:touch jdtest.txt

SubAgent = /opt/netxms/lib/libnsm_logwatch.so
*LOGWATCH
Parser = /home/netxms/Parsers/Parsing_my_log.xml

Both agents show in logs that action is expanded and executed. But when listing the files in directory there is simply no file.
Action is triggered from an event which is triggered by a valid parsing of some text in the log file.

Action is defined to be executed on remote agent with name of remote agent given.
Even when I exchange the action config for executing it on server or remote agent with server name inserted, nothing happens.

There is no error in log files except the one related to DRBD... ???:
...
[09-Nov-2010 11:51:12] ParseIoStat(): new device added (name=dm-1 isRealDevice=1)
[09-Nov-2010 11:51:12] Unable to parse /proc/drbd, DRBD data collector will not start
[09-Nov-2010 11:51:12] Subagent "/opt/netxms/lib/libnsm_linux.so" loaded successfully
[09-Nov-2010 11:51:12] Subagent "Linux" already loaded from module "/opt/netxms/lib/libnsm_linux.so"
[09-Nov-2010 11:51:12] LogWatch: registered parser for file /home/daks/n2p_out.txt, trace level set to 0
[09-Nov-2010 11:51:12] LogParser: parser thread for file "/home/daks/n2p_out.txt" started
[09-Nov-2010 11:51:12] LogParser: file "/home/daks/n2p_out.txt" successfully opened
[09-Nov-2010 11:51:12] Subagent "/opt/netxms/lib/libnsm_logwatch.so" loaded successfully
[09-Nov-2010 11:51:13] Trying to bind on 0.0.0.0:4700
[09-Nov-2010 11:51:13] Listening on socket 0.0.0.0:4700

Thanks for any support.
Br,

Jdamien
#48
Hi

Any news on this "internal push" operation?
That would be great to have a command that can be used in the NXSL script to perform similar task as with NXPUSH.

Best regards,

Jdamien
#49
General Support / Changing Event Source
November 08, 2010, 05:57:29 PM
Hi,


Is there a way to change the event source?
Here is the purpose of this request...

Let's assume a server for a particular service piles up information on different entities in some log file. You are only able to install NetXMS agent on this server, not on other entities. But through the log file you can identify some status information for each entity. Now I want to parse this log file, extract the alarms and depending on the entity identified through the parsed text, I want to generate an alarm for that particular entity. So if alarm is critical, the event shall popo up in the entity alarm list and not in the server (where the log file is located) event/alarm list.

also in the event log, the node name/address shall be the one of the entity and not the one of the server.

Is there an $event->source attribute or sth similar?

BTW.: I would appreciate if you could post the list of attributes for event and node if it has changed since last time. Any other objects that event and node? What attribute?

Many thanks in advance
Best regards,

Jdamien
#50
Feature Requests / Event list
November 08, 2010, 11:53:13 AM
Hi,

One small feature proposal, when working on the event list (for troubleshootign for exmaple or understanding the monitoring...) it would be quite nice to have the ability to stop the automatic scrolling. Indeed, whenever a new event pops up in the list, your cursor is automatically moved back to latest event. Then you have to scroll back to the events you were working on...

So stopping this automatic scrolling would prevent being push back to latest event when working in the history.

Btw, is there a way to remove events from the list? Export for backup and archiving, for example?
Automatic export in txt/CSV file every TBD (param) days - export performed at TBD (param) time of the day of any event older than TBD (param) days.

Best regards,

Jdamien
#51
General Support / Re: Processing Event - Terminating Key
November 03, 2010, 07:05:05 PM
Thanks - we will then wait for 1.0.7.

Best regards,
Jdamien
#52
General Support / Re: Processing Event - Terminating Key
November 03, 2010, 10:54:55 AM
Hi,

Any news on having regex in the termination key of the event processing (see first input in this thread to get refreshed ;-)?
Best regards,

JDamien
#53
General Support / DB release in 1.0.3
July 26, 2010, 03:10:03 PM
Hi there,

Simple question: I noticed while installing r1.0.3 that the DB stays with release 1.0.2 - using nxdbmgr.
Is that supposed to be the case? Shouldn't it be upgradd to 1.0.3?

nxdbmgr upgrade does not do anything.

Regards,

Jdamien
#54
General Support / Custom graphs on Performance tab
June 25, 2010, 10:19:32 AM
Hi there,

I've just installed your new release 1.0.2 and was looking at the new "Windows console: implemented custom graphs on Performance tab in Object Browser"
What exactly is coming in 1.0.2 for this? I can see perf graphs are presented a bit more esthetic... but what can you exactly customized? And how?

Many thanks in advance for this new release.

Rgds,

JDamien
#55
General Support / Re: Process Load???
April 27, 2010, 03:47:23 PM
Great!
Thanks for your reply and insight on your roadmap.

Best regards,

Jdamien
#56
General Support / Process Load???
April 26, 2010, 06:03:39 PM
Hi,

I've been configuring a node for which I poll 2 SNMP OIDs (one float and one string to be processed/parsed to extract a float) every 5 seconds and store the results for 180 days. On the other hand, both "admin" and "X" users ("X" has limited access to the single node) are logged in looking at the same graph: one if not both of the polled OIDs. Suddenly the console does not respond anymore and I have to close it to reopen it again and finally recover the full control. User "X" - this time - seemed to not face any issue but had same experience earlier.

Is there some CPU constraint here?
I probably have some 50 nodes with very basic polling.

Additional question: when graphing the data... "logarithmic" option would be great! Or could you tell us how to write the logarithm function in the processing function? ln(), log(), log10(), exp() are not recognized. Anything else?

Thanks and Best regards,

JDamien
#57
Hi,

I used to have the same behaviour.
But now with r1.0.0-rc2 it seems to have disappeared.

Do you run that latest release as well?
#58
Hi,

Did you do the following while installing your server?


  • Configuring root access to mysql: /usr/bin/mysqladmin -u root password <password_1>
  • Configuring mysql for netxms:


    • mysql -u root -p mysql
    • CREATE DATABASE netxms;
    • GRANT ALL ON netxms.* TO netxms IDENTFIED by '<password_2';
    • \q
  • Modify server configuration file (default is /etc/netxmsd.conf). It should look the following way:


    • DBDriver = /usr/local/lib/libnxddr_mysql.so
    • DBServer = localhost
    • DBName = netxms
    • DBLogin = root
    • DBPassword = <password_1>
    • LogFile = /var/log/netxmsd.log
    • LogFailedSQLQueries = yes

Cheers,
Jdamien
#59
Strangely, since I've installed 1.0.0-rc2 I'm able to draw graphs up to 1-year.
Previously, I usually was receiving a time-out error.
Now graph is displayed even if no data was registered at that time.

I will keep an on it and will send you any feedback if sth wierd pops up.

Best regards,
Jdamien
#60
General Support / Re: RegEx in DCI
March 10, 2010, 07:44:21 PM
Well I'm glad I can answer myself this time ;-)

Solution is...

sub main()
{
  $1~="#(.*)#";
  return $1;
}


This script will return "-99" if I give it as input "MyVal=18#-99#AB_01".
And for those interested...

sub main()
{
   $1~="#(.*)#(.*)$";
   return $2;
}


This one will return "AB_01"

PS.: "main" not "Main"!!! Otherwise -> Error

JDamien