NetXMS Support Forum

English Support => General Support => Topic started by: anw on November 10, 2015, 04:46:50 PM

Title: Switch Interfaces - Template creation
Post by: anw on 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
Title: Re: Switch Interfaces - Template creation
Post by: tomaskir on November 10, 2015, 05:45:22 PM
Use instance discovery to create dynamic DCIs.

You can see how to in this post:
https://www.netxms.org/forum/general-support/netxms-multiple-config-queistons/msg16714/#msg16714
Title: Re: Switch Interfaces - Template creation
Post by: anw on November 12, 2015, 04:51:43 PM
ok awesome, got it working

but one thing - im missing the option "invert values", when configuring grapohs, data sources?
i want to have grapsh with bits/s  in  bit/s out ,  and invert one value.

how could i do this? why am i missing this option?

Thanks
Title: Re: Switch Interfaces - Template creation
Post by: Andreas@rc on November 12, 2015, 05:01:46 PM
Quote from: anw on November 12, 2015, 04:51:43 PM
ok awesome, got it working

but one thing - im missing the option "invert values", when configuring grapohs, data sources?
i want to have grapsh with bits/s  in  bit/s out ,  and invert one value.

how could i do this? why am i missing this option?

Thanks

You could transform the DCI to negative values ...
Title: Re: Switch Interfaces - Template creation
Post by: tomaskir on November 12, 2015, 05:02:32 PM
You are probably running old version of NetXMS.

I advise running the newest released version - 2.0-RC2.

Quote from: Andreas@rc on November 12, 2015, 05:01:46 PM
You could transform the DCI to negative values ...
I advise against doing that, just upgrade your NetXMS version and invert it on graph, rather than modifying the source data.
Title: Re: Switch Interfaces - Template creation
Post by: anw on November 12, 2015, 05:07:32 PM
ok thanks
im running the recent stable version  1.2.17.

how can i invert them on the graph?
or is this only possible in 2.0+ ?
Title: Re: Switch Interfaces - Template creation
Post by: tomaskir on November 12, 2015, 05:09:04 PM
Yes, this feature is only available since 2.0-M3.
Title: Re: Switch Interfaces - Template creation
Post by: anw on November 12, 2015, 06:31:49 PM
followed this guide..
https://wiki.netxms.org/wiki/Server_Installation_Guide#Upgrading_NetXMS_Server_on_UNIX

but after this i get the error:
Server uses incompatible version of communication protocol
Title: Re: Switch Interfaces - Template creation
Post by: tomaskir on November 12, 2015, 07:02:32 PM
You also need a newer version of the management console (client).
Title: Re: Switch Interfaces - Template creation
Post by: anw on November 13, 2015, 02:12:40 PM
yes i downloaded newest client, and also the .war file. but still no success