News:

We really need your input in this questionnaire

Main Menu
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 - BigBlue

#1
General Support / Re: nxadm: Server error 2
June 03, 2022, 05:47:04 PM
ok thanks !
I hadn't seen the change...

I had tried with login/passwd, but there must be an incompatible character in the password  :(

BB
#2
General Support / nxadm: Server error 2
June 03, 2022, 09:14:58 AM
Hi,

I can't change the debug level with nxadm:

# /opt/netxms/bin/nxadm -i

NetXMS Server Remote Console V4.1.333 Ready
Enter "help" for command list

netxmsd: debug 7
Server error 2
netxmsd: help
Server error 2
netxmsd:


BB
#3
General Support / Re: No Peer in Object Details
January 04, 2022, 10:26:07 AM
This is perfect.
Node, MAC and IP are now back to normal!

Thanks a lot!


BB
#4
General Support / Re: No Peer in Object Details
November 30, 2021, 03:29:59 PM
I have sent you the requested logs in a private message.

BB
#5
General Support / No Peer in Object Details
November 26, 2021, 12:44:11 PM
Hi,

I have no more Peer Node, MAC, IP... in "Object Details" of all my devices.

No problems in the "Topology table" or "Topology Poll"
[26.11.2021 11:28:31] Update of peer information on interfaces
[26.11.2021 11:28:31] Local interface Te1/1/1 linked to remote interface cs9200l24p-00-4-1.xxxxxx.xx:Gi1/0/4
[26.11.2021 11:28:31] Topology of the processed link layer
[26.11.2021 11:28:31] Topology query completed for node cs9200l48-00-4-4.xxxxxx.xx


Do you know why I don't have the info in the database anymore?

Thanks,
BB
#6
Announcements / Re: NetXMS 3.9 version 3.9.229
September 06, 2021, 02:02:03 PM
perfect!

Thank you very much.

BB
#7
Announcements / Re: NetXMS 3.9 version 3.9.229
September 06, 2021, 01:57:22 PM
Hello,

The installation seems to have gone well, but the application does not start:

2021.09.06 12:55:49.967 *I* [logger             ] Log file opened (rotation policy 2, max size 16777216)
2021.09.06 12:55:49.968 *I* [startup            ] Starting NetXMS server version 3.9.229 build tag 3.9-229-g0d60e0246d
2021.09.06 12:55:49.968 *I* [logger             ] Debug level set to 0
2021.09.06 12:55:49.968 *I* [config             ] Main configuration file: /opt/netxms/etc/netxmsd.conf
2021.09.06 12:55:49.968 *I* [config             ] Configuration tree:
2021.09.06 12:55:49.968 *I* [config             ] [root]
2021.09.06 12:55:49.968 *I* [config             ]  +- server
2021.09.06 12:55:49.968 *I* [config             ]      +- DBDriver
2021.09.06 12:55:49.968 *I* [config             ]      |    value: mariadb.ddr
2021.09.06 12:55:49.968 *I* [config             ]      +- DBServer
2021.09.06 12:55:49.968 *I* [config             ]      |    value: localhost
2021.09.06 12:55:49.968 *I* [config             ]      +- DBName
2021.09.06 12:55:49.968 *I* [config             ]      |    value: netxms
2021.09.06 12:55:49.968 *I* [config             ]      +- DBLogin
2021.09.06 12:55:49.968 *I* [config             ]      |    value: netxms
2021.09.06 12:55:49.968 *I* [config             ]      +- DBPassword
2021.09.06 12:55:49.968 *I* [config             ]      |    value: ********
2021.09.06 12:55:49.968 *I* [config             ]      +- LogFile
2021.09.06 12:55:49.968 *I* [config             ]           value: /var/log/netxms
2021.09.06 12:55:49.969 *I* [startup            ] Code page set to ISO8859-1
2021.09.06 12:55:49.971 *I* [                   ] Platform subagent "/opt/netxms/lib/netxms/linux.nsm" successfully loaded
2021.09.06 12:55:49.979 *I* [db.drv             ] Database driver "mariadb.ddr" loaded and initialized successfully
2021.09.06 12:55:49.993 *I* [                   ] Server ID 2F843880D4CAFA2D
2021.09.06 12:55:50.002 *I* [db.lock            ] Stalled database lock removed
2021.09.06 12:55:50.011 *I* [db.writer          ] DBWriter/Housekeeper interlock is OFF
2021.09.06 12:55:50.014 *I* [crypto             ] Crypto library initialized (OpenSSL 1.0.2k-fips  26 Jan 2017)
2021.09.06 12:55:50.015 *I* [crypto.cert        ] Server certificate not set
2021.09.06 12:55:50.027 *I* [db.drv             ] Database driver "sqlite.ddr" loaded and initialized successfully
2021.09.06 12:55:50.094 *I* [db.drv             ] Database driver "sqlite.ddr" loaded and initialized successfully
2021.09.06 12:55:50.111 *I* [ndd                ] Network device driver DLINK loaded successfully
2021.09.06 12:55:50.111 *I* [ndd                ] Network device driver EXTREME loaded successfully
2021.09.06 12:55:50.111 *I* [ndd                ] Network device driver PING3 loaded successfully
2021.09.06 12:55:50.111 *I* [ndd                ] Network device driver DELL-PWC loaded successfully
2021.09.06 12:55:50.112 *I* [ndd                ] Network device driver QTECH-OLT loaded successfully
2021.09.06 12:55:50.112 *I* [ndd                ] Network device driver SAF-INTEGRA-B loaded successfully
2021.09.06 12:55:50.112 *I* [ndd                ] Network device driver CATALYST-GENERIC loaded successfully
2021.09.06 12:55:50.112 *I* [ndd                ] Network device driver CATALYST-2900XL loaded successfully
2021.09.06 12:55:50.112 *I* [ndd                ] Network device driver CISCO-ESW loaded successfully
2021.09.06 12:55:50.112 *I* [ndd                ] Network device driver CISCO-NEXUS loaded successfully
2021.09.06 12:55:50.112 *I* [ndd                ] Network device driver CISCO-SB loaded successfully
2021.09.06 12:55:50.112 *I* [ndd                ] Network device driver CISCO-WLC loaded successfully
2021.09.06 12:55:50.112 *I* [ndd                ] Network device driver CISCO-GENERIC loaded successfully
2021.09.06 12:55:50.112 *I* [ndd                ] Network device driver AT loaded successfully
2021.09.06 12:55:50.113 *I* [ndd                ] Network device driver H3C loaded successfully
2021.09.06 12:55:50.113 *I* [ndd                ] Network device driver HPSW loaded successfully
2021.09.06 12:55:50.113 *I* [ndd                ] Network device driver PROCURVE loaded successfully
2021.09.06 12:55:50.113 *I* [ndd                ] Network device driver MOXA-EDR loaded successfully
2021.09.06 12:55:50.113 *I* [ndd                ] Network device driver UBNT loaded successfully
2021.09.06 12:55:50.113 *I* [ndd                ] Network device driver NETONIX loaded successfully
2021.09.06 12:55:50.114 *I* [ndd                ] Network device driver NET-SNMP loaded successfully
2021.09.06 12:55:50.116 *E* [ndd                ] Network device driver "/opt/netxms/lib/netxms/ndd/symbol_ws.ndd" cannot be loaded because of API version mismatch (driver: 8; server: 10)


regards,
BB
#8
General Support / snmp traps rate
July 02, 2021, 04:04:48 PM
Hi,

I have enabled snmp traps.
Everything works, but NetXMS is regularly an hour late in processing traps...
I think this is due to the thousand of devices managed.

How do I configure NetXMS to keep up with this?

thanks
BB
#9
General Support / Re: AgentExecuteAction
June 08, 2021, 09:36:02 AM
With AgentReadParameter it is perfect.
Thank you.

BB
#10
General Support / AgentExecuteAction
June 07, 2021, 08:09:02 PM
Hello,

I am trying to use the NXSL command "AgentExecuteAction".

In the configuration file of my agent, I have placed:
ExternalParameter = Test:echo test > /tmp/test.txt
This works very well on the command line:
/opt/netxms/bin/nxget localhost 'Test

# more /tmp/test.txt
test


So, I made a very small script  ;):
AgentExecuteAction($node, "Test");

I execute it...
I can see the action in debug mode:

  ** code=0x0043 (CMD_ACTION) version=5 flags=0x0000 id=4 size=56 numFields=3
  ** 000000: [    87] UTF8-STRING "Test"
  ** 000010: [   482] INT16       0
  ** 000018: [    88] INT32       0

2021.06.07 16:22:52.231 *D* [comm.cs.4          ] Received message CMD_ACTION (4)
2021.06.07 16:22:52.231 *D* [actions            ] ExecuteAction(Test): requestId=4, RCC=404
2021.06.07 16:22:52.231 *D* [comm.cs.4          ] Sending message CMD_REQUEST_COMPLETED (ID 4; size 32; uncompressed)
2021.06.07 16:22:52.231 *D* [comm.cs.4          ] Outgoing message dump:
  ** 000000 | 00 1D 50 00 00 00 00 20 00 00 00 04 00 00 00 01 | ..P.... ........
  ** 000010 | 00 00 00 1C 00 00 00 00 00 00 01 94 00 00 00 00 | ................
  ** code=0x001D (CMD_REQUEST_COMPLETED) version=5 flags=0x0000 id=4 size=32 numFields=1
  ** 000000: [    28] INT32       404

2021.06.07 16:22:52.231 *D* [comm.cs.4          ] Communication channel closed by peer
2021.06.07 16:22:52.231 *D* [comm.cs.4          ] Session with 129.20.128.4 closed
2021.06.07 16:22:52.231 *D* [comm.cs.4          ] Session unregistered
2021.06.07 16:22:52.231 *D* [comm.cs.4          ] Receiver thread stopped

but it doesn't work ...

Is it a syntax problem?
A Parameter problem?

Thanks
BB
#11
oh!

I've got it:
oldestAlarmTime = min(oldestAlarmTime, a->creationTime);
println n->id . "\t" . n->name . "\t" . a->message . "\t" . strftime("%Y-%m-%d %H:%M", a->creationTime);


Thanks to all.

BB
#12
hi,

Thank you, this has inspired me a lot!

Now I can display the id, name and message of each alarm.

for (n : GetAllNodes())
{
for(a : n->alarms)
{
println n->id . "\t" . n->name . "\t" . a->message;
}
}


But I don't know how to display the date ?

Thanks for your help.
BB
#13
Hi,

I'm trying to get the logs as displayed in the "Alarm Browser" window.
As I said, this may not be the right way to do it  :-[

I have now gone another way, exporting the alarms when they appear using the "Event Processing Policy" and an associated "Action".
But then I'll have to manage the acknowledgements myself ... etc...

BB
#14
I am also in the 3.8.314 version  :-\
#15
But, I think this is not the right way...
a_key = %("NODE_DOWN_.*","SERVICE_DOWN_.*","IF_DOWN_.*","IF_UNEXP_UP_.*","BAD_NETMASK_.*","SCRIPT_ERR_.*","DCI_STATUS_.*","DC_THRESHOLD_.*","DCTTHR_.*","SYS_THREAD_HANG_.*","MAINTENANCE_MODE_.*","AGENT_UNREACHABLE_.*","SNMP_UNREACHABLE_.*","SYS_LDAP_SYNC_ERROR_.*","SYS_AGENT_LOG_PROBLEM_.*","SYS_AGENT_LOCAL_DATABASE_PROBLEM_.*","MAC_ADDRESS_CHANGED_.*","BAD_NETMASK_.*","ROUTING_LOOP_.*","SW_PKG_.*");

for (i = 0; i < a_key->size; i++ )
{
alarm = FindAlarmByKeyRegex(a_key[i]);
if (alarm != NULL)
{
println  (alarm->key) . (alarm->message) . "\n";
}
}


NODE_DOWN_0x000099C6Node down

SCRIPT_ERR_Template::Zone Proxy::108_Error in line 1: syntax error, unexpected $end, expecting ';'Script (Template::Zone Proxy::108) execution error: Error in line 1: syntax error, unexpected $end, expecting ';'

MAC_ADDRESS_CHANGED_0x0001EDB7_1MAC address for interface unknown changed from XX:XX:XX:XX:XX:XX to XX:XX:XX:XX:XX:XX


*** FINISHED ***

Result:



I have a lot of errors and "alarm->message" does not return all the information.
Do you know if it is possible to get about the same result in "Alarm Browser"?