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

Topics - anw

#1
General Support / Issues after latest Upgrade
February 14, 2018, 02:12:12 PM
Hey
after the recent last upgrade to the newest version 2.2.3 and the the needed DB (postgres) update , we encounter a lot of issues

For e.g. the SyslogParser is not showing correctly anymore
also the Performance Tab on the Object Detail Overview is giving errors, not working at all.

See attached pictures

Any idea how to fix this?

Best
#2
Hey

I have problems setting up Tomcat7 Webserver
My netxms server runs on a Debian Jessie machine
i installed Tomcat7, and deployed the .war file to /var/lib/tomcat7/webapps/nxmc-2.1.war
The file gets autodeployed  to nxmc-2.1
But if i go to the adress ServerIP:8080/nxmc-2.1

i get the error above, here a screenshot
Any suggestions what to do here?

Thanks
#3
General Support / Automated Interface Name poll Script
January 16, 2017, 09:58:48 PM
Hey guy,

i want to setup a script which runs every x hours and re checks all the interface descriptions (aliases) - the default poll - poll interface names works - but i would like to do this automatically on a template with ~50 switches.
Any help how to set this up would be appreciated

Best
#4
Hey
im trying to execute a simple script every 10 minutes on my Switches .. but i cant seem to apply it to a group.. it never works , but if i choose one specific switch, it works fine?
What am i doing wrong here? or any suggestion how this can be done?
i tried ExecuteGroup  Templates.. specific template.. entere network... infrastructure services... nothing seems to work?

i dont want to add scripts for all 200 switches ? and have to change all the time if i add a switch..?

thanks
#5
Hey

if found this solution for automation and filtering of dcis for my switches:
Description: Traffic, IN {instance-name}
Instance Discovery
Snmpwalk OID
Base OID
.1.3.6.1.2.1.31.1.1.1.1
filtering script
snmp = CreateSNMPTransport($node);
/* nur wenn PortSpeed > 0 */
x = SNMPGetValue(snmp, ".1.3.6.1.2.1.2.2.1.5.".$1);
y = SNMPGetValue(snmp, ".1.3.6.1.2.1.31.1.1.1.17.".$1);
if (x>0 && y!=2) return 1;
else return 0;




I would like to integrate the alias/port description in the description part
so the ouput would be

Description: Traffic {alias}, IN {instance-name}



how could i do this ?

regards
#6
General Support / Automate NXSL Script [SOLVED]
April 02, 2016, 09:39:23 PM
Hi
i have written a tiny script for my switches - which changes the expected interface states to ignore, unless an alias/port description is set.
i would like to auto run it for all my switches every X hours - how can i realise that?  i dont really get the scheduled tasks - where can i define which script to run ? and what to enter into the cron schedule?

thanks guys


edit: thanks tomaskir, that was easier than i thought :)
#7
Hi
i want to monitor my Switch OS Versions.
Could you help me transform the Value i get after doing snmp check
the value i get is:
Juniper Networks, Inc. ex2200-c-12t-2g Ethernet Switch, kernel JUNOS 12.3R11.2, Build date: 2015-09-24 11:55:10 UTC Copyright (c) 1996-2015 Juniper Networks, Inc.

how can i transform this to only check the "JUNOS 12.3R11.2" part  , and setup notifications if its not version XXX

thanks
#8
General Support / Database Issues
December 04, 2015, 01:31:52 PM
Hi,
i got a problem with my Database.
im using Postgres9.4 as DB and netxms 2.0RC version

i was confused why my rootfs was nearly out of space, then i realised /var/log/postgres  was nearly 4GB

i got 10-15 screens of message each second with :


2015-12-04 12:28:46 CET [3232-95] netxms@netxms STATEMENT:  INSERT INTO object_properties (name,status,is_deleted,inherit_access_rights,last_modified,status_calc_alg,status_prop_alg,status_fixed_val,status_shift,status_translation,status_single_threshold,status_thresholds,comments,is_system,location_type,latitude,longitude,location_accuracy,location_timestamp,guid,image,submap_id,country,city,street_address,postcode,maint_mode,object_id) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28)
2015-12-04 12:28:46 CET [3232-96] netxms@netxms ERROR:  current transaction is aborted, commands ignored until end of transaction block
2015-12-04 12:28:46 CET [3232-97] netxms@netxms STATEMENT:  DEALLOCATE "netxms_stmt_0x22d2d80_436"
2015-12-04 12:28:46 CET [3232-98] netxms@netxms ERROR:  null value in column "maint_event_id" violates not-null constraint
2015-12-04 12:28:46 CET [3232-99] netxms@netxms DETAIL:  Failing row contains (103, db81e234-0450-4be7-8197-cbc74f31bcc4, eth0, 0, 0, 0, 1449228291, 1, 0, 0, 1, 0, 01020304, 75, 503C2814, , 0, 0.000000, 0.000000, 0, 0, 00000000-0000-0000-0000-000000000000, 0, , , , , 0, null).
2015-12-04 12:28:46 CET [3232-100] netxms@netxms STATEMENT:  INSERT INTO object_properties (name,status,is_deleted,inherit_access_rights,last_modified,status_calc_alg,status_prop_alg,status_fixed_val,status_shift,status_translation,status_single_threshold,status_thresholds,comments,is_system,location_type,latitude,longitude,location_accuracy,location_timestamp,guid,image,submap_id,country,city,street_address,postcode,maint_mode,object_id) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28)
2015-12-04 12:28:46 CET [3232-101] netxms@netxms ERROR:  current transaction is aborted, commands ignored until end of transaction block
2015-12-04 12:28:46 CET [3232-102] netxms@netxms STATEMENT:  DEALLOCATE "netxms_stmt_0x22d2d80_438"
2015-12-04 12:28:46 CET [3232-103] netxms@netxms ERROR:  null value in column "maint_event_id" violates not-null constraint
2015-12-04 12:28:46 CET [3232-104] netxms@netxms DETAIL:  Failing row contains (104, 58c3a61f-5d20-4afc-bb86-5f65db97a149, 10.10.0.1, 5, 0, 0, 1449228471, 1, 0, 0, 1, 0, 01020304, 75, 503C2814, , 0, 0.000000, 0.000000, 0, 0, 00000000-0000-0000-0000-000000000000, 0, , , , , 0, null).
2015-12-04 12:28:46 CET [3232-105] netxms@netxms STATEMENT:  INSERT INTO object_properties (name,status,is_deleted,inherit_access_rights,last_modified,status_calc_alg,status_prop_alg,status_fixed_val,status_shift,status_translation,status_single_threshold,status_thresholds,comments,is_system,location_type,latitude,longitude,location_accuracy,location_timestamp,guid,image,submap_id,country,city,street_address,postcode,maint_mode,object_id) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28)
2015-12-04 12:28:46 CET [3232-106] netxms@netxms ERROR:  current transaction is aborted, commands ignored until end of transaction block
2015-12-04 12:28:46 CET [3232-107] netxms@netxms STATEMENT:  DEALLOCATE "netxms_stmt_0x22d2d80_440"




i dropped the database, and recreated it , but same issue.. a
also after reboot, all nodes and templates are gone


any idea whats causing this? and how to fix?

regards
#9
General Support / Switch Interfaces - Template creation
November 10, 2015, 04:46:50 PM
Hi,
im totally new to netxms, played around a little bit, and im stuck now.

i want to use netxms primarly for monitoring switch traffic.

how can i achieve to automate the process of creating dci , and graphs?
we use only 3 switch models, so i thought about creating a template for each model.
But when i go to Data Collection Configuration - and create parameters with specific SNMP OID's. and i apply a switch to this template. it always tells me Unsupported.

also the oids change , depending on the configuration of the switch, sometimes interface description for ge-0/0/0 is identified by OID 1.3.6.1.2.1.2.2.1.2.514
on anohter switch, same model, it has OID .1.3.6.1.2.1.2.2.1.2.503.

Any help is really appreciated