iDirect(VSAT) network using cacti as NMS

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
berny81
Posts: 37
Joined: Thu Apr 11, 2013 11:13 am

Re: iDirect(VSAT) network using cacti as NMS

Post by berny81 »

morya wrote:Hi,

The iDirect SNMP proxy agent bridges iDirect’s NMS into SNMP-based management systems. The proxy monitors all components of the iDirect network (remotes, protocol processors, Hubs).

Basically all data are stored in the mysql database and the proxy agent is relaying it. I'm actually graphing IP throughput statistics in cacti from the ipstatsentry table. As an example you can find the .xml file attached that you can take as an example.

You'll have to follow the step explained here:

http://docs.cacti.net/manual:087:3a_adv ... alkthrough

Yann
Dear Yann
I used the ipstat table you attached and i created the data query as the topic posted in the walkthrough
also i added the data query in the idirect nms device in cacti.
however when i activate the script i am getting success with 0 items ,0 rows !!
+ Running data query [10].
+ Found type = '4 '[script query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/ipstatsEntryTable.xml'
+ XML file parsed ok.
+ Executing script for list of indexes ' '
+ Executing script query ' '
+ Executing script query ' '
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/ipstatsEntryTable.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/ipstatsEntryTable.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/ipstatsEntryTable.xml'

Can you please assist me since i am debian and linux newbie.
if anyone else can help i will be greatfull
thx in advance
berny81
Posts: 37
Joined: Thu Apr 11, 2013 11:13 am

Re: iDirect(VSAT) network using cacti as NMS

Post by berny81 »

pablomz wrote:Hi Galdalf,

Thanks for your reply.
I already run snmpwalk pointing to the NMS to get the OID.
#snmpwalk -c public -v 1 -On x.x.x.x IDIRECT-REMOTE-MIB::ipstatsTable

Basically what I want to monitor is bandwidth (tx/rx). I have Cacti 0.8.7i running and I have downloaded the files that thuo posted and import into Cacti.
My questions is what's the next steps to follow to create each vsat remote sites on Cacti? To not have many posts and help all community if possible why you don't create any step by step article?

Thanks,
Pablo
Dear Pablo

i am running the snmpwalk command pointing to the nms as you put it,it is giving the following error:
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (IDIRECT-REMOTE-MIB): At line 0 in (none)
IDIRECT-REMOTE-MIB::ipstatsTable: Unknown Object Identifier

Am i missing something?

Thx in advance
berny81
Posts: 37
Joined: Thu Apr 11, 2013 11:13 am

Re: iDirect(VSAT) network using cacti as NMS

Post by berny81 »

thuo wrote:And one more thing,

Its hard to extract those idirect mib file and interpret them, so i made work easier for you...

With this you will not struggle much - if you know how to.

Place it in the resources/snmp_queries folder and call it using data query. Better still extract and create a separate .xml file for each of the queries you may intend to make.

EG , temp, snr, rx, tx , power, etc etc.

Regards,
Thuo Wilson.
Hi Thuo
regarding the IDIRECT-REMOTE-MIB.xml that you attached,
1- where should i place it (in the cacti server or Idirect NMS server?)
2- Does this file include everything , means no need to perform the steps that gandalf made in his walkthrough ?
3- when i try to snmpwalk the idirect NMS server ipstatstable it gives me unable to find the MIB.
Thx in advance for ur help

Berny
berny81
Posts: 37
Joined: Thu Apr 11, 2013 11:13 am

Re: iDirect(VSAT) network using cacti as NMS

Post by berny81 »

gandalf wrote:
ICSL wrote:1. A comprehensive (step by step) installation of cacti on linux (we would try to use the same flavor & version of linux as the one recommended)
2. How to point the machine running cacti on linux to receive information from the iDirect MIB which is encoded in the file /usr/share/snmp/mibs/IDIRECT-REMOTE-MIB.txt on the NMS server.
3. How to configure the cacti software running on linux to interpret such information and present us with the graph and much needed data.
Most of this is coverd by the Documentation and HowTo at http://docs.cacti.net
If sth is missing, please report
Reinhard
Hi Gandalf

I followed your manual regarding the data query.
i created the XML file and put it in the cacti directory to add it to the device. when i execute the IPstattable, it is stating successful but i dont see any index in the raw,columns field.

can you help me plz, i am newbie in cacti and linux.
also i am not able to snmpwalk the Idirect remote MIB database.
Knowing that when i added the device, i could plot the regular graphs like interface traffic and user logged ...

i am runnign on debian squeeze.
cacti 0.8.7g

thanks in advance
berny81
Posts: 37
Joined: Thu Apr 11, 2013 11:13 am

Re: iDirect(VSAT) network using cacti as NMS

Post by berny81 »

pablomz wrote:Hi Gandalf,

Thanks for your reply.

I will learn and investigate more then I will publish any HowTo with step by step to allow all/newbie the procedure and not spend much time.



Kind regards,
Pablo
Hi Pablo, any update?

i arrived to the step of when i run the verbose query, it says succeed but items 0, rows 0.
i have debian squeeze machine with cacti 0.8.7g

please anyone help me! i am stuck at this point.
and when i try to snmpwalk the ipstatstable of the NMS it gives me the following error:
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (IDIRECT-REMOTE-MIB): At line 0 in (none)
IDIRECT-REMOTE-MIB::ipstatsTable: Unknown Object Identifier

please anyone help!!!
berny81
Posts: 37
Joined: Thu Apr 11, 2013 11:13 am

Re: iDirect(VSAT) network using cacti as NMS

Post by berny81 »

morya wrote:I'm actually monitoring all values from the ipstatentry table. Basically i'm printing values per protocol and graphing the sum per direction. See the example below:
Hi Morya

I have the same task to do at my work.
I created the xml data query file for the ipstatentry table, data template (rxtcp and txtcp),graph template.
I can see value on the graph but they are not reflecting the real value when i compare to Imonitor value.
Currently i am planning to print all values per protocol and graphing the sum as you are doing.
In the graph template items, shall i use any formula in order to print and graph correct values ?
can you provide me your graph template plz ?
another question: when we say txtcp this means TX of the remote or the opposite ?

Thanks in advance for your help
Berny
berny81
Posts: 37
Joined: Thu Apr 11, 2013 11:13 am

Re: iDirect(VSAT) network using cacti as NMS

Post by berny81 »

gandalf wrote:
morya wrote:I'm actually monitoring all values from the ipstatentry table. Basically i'm printing values per protocol and graphing the sum per direction. See the example below:
Would you mind posting your templates at 4th link of my sig for common use?
R.
Hi Gandalf

Where can i see the templates that morya posted?
can you send me the link please ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: iDirect(VSAT) network using cacti as NMS

Post by gandalf »

Sorry, I don't know.
You may search for all posts of that user, ...
R.
berny81
Posts: 37
Joined: Thu Apr 11, 2013 11:13 am

Re: iDirect(VSAT) network using cacti as NMS

Post by berny81 »

gandalf wrote:Sorry, I don't know.
You may search for all posts of that user, ...
R.
Thank you Gandalf.

I have another question, i was able to create the graphs i need for all the remotes in the network.
I created trees for each client and sent the graphs to the appropriate trees.
My question is that i need now to create a user account for each client in order he sees only his specified graphs.
When i configure in graph permission that the user is allowed to view this tree only, i am forced to add each graph manually one by one.
It is exhausting since for each client i have more than 200 hundreds graphs.
Is there a way that when i allow the user to view a specific tree, he will see directly all the graphs inside that tree?
Please advise
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: iDirect(VSAT) network using cacti as NMS

Post by gandalf »

I was assuming that editing the tree permissions should be enough - else it would be pointless from my point of view. This is NOT the case, then???
R.
berny81
Posts: 37
Joined: Thu Apr 11, 2013 11:13 am

Re: iDirect(VSAT) network using cacti as NMS

Post by berny81 »

gandalf wrote:I was assuming that editing the tree permissions should be enough - else it would be pointless from my point of view. This is NOT the case, then???
R.
Hi Reinhard

I found the solution for this.

in the user graph permission tab you configure the following:

in tree permissions you add the specified tree with default policy deny
AND then in graph permission (by device) you add the specific device with default policy deny
:)

Vielen dank fur ihr Hilfe!

Auf Wiedersehen
forero
Posts: 5
Joined: Thu Jun 20, 2013 3:09 pm

Re: iDirect(VSAT) network using cacti as NMS

Post by forero »

Please see the follow image.
As you can see the cacti shows the: serie modem - tx power - rx power - c/n down - c/n up - warnings

Image

If anyone can help me up a server with these features please contact me.
thuo
Posts: 18
Joined: Sun Apr 24, 2011 10:55 am

Re: iDirect(VSAT) network using cacti as NMS

Post by thuo »

berny81 wrote:
pablomz wrote:Hi Galdalf,

Thanks for your reply.
I already run snmpwalk pointing to the NMS to get the OID.
#snmpwalk -c public -v 1 -On x.x.x.x IDIRECT-REMOTE-MIB::ipstatsTable

Basically what I want to monitor is bandwidth (tx/rx). I have Cacti 0.8.7i running and I have downloaded the files that thuo posted and import into Cacti.
My questions is what's the next steps to follow to create each vsat remote sites on Cacti? To not have many posts and help all community if possible why you don't create any step by step article?

Thanks,
Pablo
Hi ,
I had been away from cacti forum for some while now. Sorry for late reply...

The IDIRECT-REMOTE-MIB.xml is (rather i) extracted file into xml for easier reading and reference. You will not find the file under idirect platform but rather you have to transform it into .xml - thats why i uploaded in that form. Snmp will also be able to interpret it(idirect file) in raw form(?) like you did above {snmpwalk -c public -v 1 -On x.x.x.x IDIRECT-REMOTE-MIB::ipstatsTable}

You don't poll from remote, you poll from the nms server.
=====================================================
One way to get graphs is following below;;;;

In short:

/. Ensure your NMS snmp server is running and firewall open (incase you have one).
/. Download all the files from my dropbox folder here http://bit.ly/1lIHkAT
/. Extract all files.
/. Import (console, Import Templates ), data_query, host template, data template and graph template using cacti. Import all of them.
/. Place the snmp_queries folder{after extracting} content under <path_cacti>/resource/snmp_queries/
/. Go to console, host templates {under IDIRECT, add any other item you may want to graph}
/. Add cacti device {MNS server}, use host template "IDIRECT" to add data queries and custom graph templates.

If you find no graphs plotting use SNMPv2

Thats all. You will have working traffic_graphs, snr, tx_, scpc errors, line_card graphs()

Thanks, you made me upload this finally. My Skype is wthusi incase you need further assistance. Send me email first to accept it.

NB:/ You can plot anything using the OID from the IDIRECT-REMOTE-MIB.xml file. Create data-template, graph templates and you are home and dry!

Kind Regards,
Thuo Wilson.

Behold, Embrace yourself to meet your maker - will you say you thought he doesnt exist? No harm in believing in Jesus today! Avoid Shame...
====================================================
hashmat
Posts: 1
Joined: Thu Nov 27, 2014 12:12 am
Contact:

Re: iDirect(VSAT) network using cacti as NMS

Post by hashmat »

thuo wrote:
berny81 wrote:
pablomz wrote:Hi Galdalf,

Thanks for your reply.
I already run snmpwalk pointing to the NMS to get the OID.
#snmpwalk -c public -v 1 -On x.x.x.x IDIRECT-REMOTE-MIB::ipstatsTable

Basically what I want to monitor is bandwidth (tx/rx). I have Cacti 0.8.7i running and I have downloaded the files that thuo posted and import into Cacti.
My questions is what's the next steps to follow to create each vsat remote sites on Cacti? To not have many posts and help all community if possible why you don't create any step by step article?

Thanks,
Pablo
Hi ,
I had been away from cacti forum for some while now. Sorry for late reply...

The IDIRECT-REMOTE-MIB.xml is (rather i) extracted file into xml for easier reading and reference. You will not find the file under idirect platform but rather you have to transform it into .xml - thats why i uploaded in that form. Snmp will also be able to interpret it(idirect file) in raw form(?) like you did above {snmpwalk -c public -v 1 -On x.x.x.x IDIRECT-REMOTE-MIB::ipstatsTable}

You don't poll from remote, you poll from the nms server.
=====================================================
One way to get graphs is following below;;;;

In short:

/. Ensure your NMS snmp server is running and firewall open (incase you have one).
/. Download all the files from my dropbox folder here http://bit.ly/1lIHkAT
/. Extract all files.
/. Import (console, Import Templates ), data_query, host template, data template and graph template using cacti. Import all of them.
/. Place the snmp_queries folder{after extracting} content under <path_cacti>/resource/snmp_queries/
/. Go to console, host templates {under IDIRECT, add any other item you may want to graph}
/. Add cacti device {MNS server}, use host template "IDIRECT" to add data queries and custom graph templates.

If you find no graphs plotting use SNMPv2

Thats all. You will have working traffic_graphs, snr, tx_, scpc errors, line_card graphs()

Thanks, you made me upload this finally. My Skype is wthusi incase you need further assistance. Send me email first to accept it.

NB:/ You can plot anything using the OID from the IDIRECT-REMOTE-MIB.xml file. Create data-template, graph templates and you are home and dry!

Kind Regards,
Thuo Wilson.

Behold, Embrace yourself to meet your maker - will you say you thought he doesnt exist? No harm in believing in Jesus today! Avoid Shame...
====================================================
Hello Dear,

would you please share your email address i need help setting up CACTI, would be greatefull to have your contact.

Regards
sohel2020
Posts: 7
Joined: Sat May 03, 2014 7:48 am

Re: iDirect(VSAT) network using cacti as NMS

Post by sohel2020 »

thuo wrote:
berny81 wrote:
pablomz wrote:Hi Galdalf,

Thanks for your reply.
I already run snmpwalk pointing to the NMS to get the OID.
#snmpwalk -c public -v 1 -On x.x.x.x IDIRECT-REMOTE-MIB::ipstatsTable

Basically what I want to monitor is bandwidth (tx/rx). I have Cacti 0.8.7i running and I have downloaded the files that thuo posted and import into Cacti.
My questions is what's the next steps to follow to create each vsat remote sites on Cacti? To not have many posts and help all community if possible why you don't create any step by step article?

Thanks,
Pablo
Hi ,
I had been away from cacti forum for some while now. Sorry for late reply...

The IDIRECT-REMOTE-MIB.xml is (rather i) extracted file into xml for easier reading and reference. You will not find the file under idirect platform but rather you have to transform it into .xml - thats why i uploaded in that form. Snmp will also be able to interpret it(idirect file) in raw form(?) like you did above {snmpwalk -c public -v 1 -On x.x.x.x IDIRECT-REMOTE-MIB::ipstatsTable}

You don't poll from remote, you poll from the nms server.
=====================================================
One way to get graphs is following below;;;;

In short:

/. Ensure your NMS snmp server is running and firewall open (incase you have one).
/. Download all the files from my dropbox folder here http://bit.ly/1lIHkAT
/. Extract all files.
/. Import (console, Import Templates ), data_query, host template, data template and graph template using cacti. Import all of them.
/. Place the snmp_queries folder{after extracting} content under <path_cacti>/resource/snmp_queries/
/. Go to console, host templates {under IDIRECT, add any other item you may want to graph}
/. Add cacti device {MNS server}, use host template "IDIRECT" to add data queries and custom graph templates.

If you find no graphs plotting use SNMPv2

Thats all. You will have working traffic_graphs, snr, tx_, scpc errors, line_card graphs()

Thanks, you made me upload this finally. My Skype is wthusi incase you need further assistance. Send me email first to accept it.

NB:/ You can plot anything using the OID from the IDIRECT-REMOTE-MIB.xml file. Create data-template, graph templates and you are home and dry!

Kind Regards,
Thuo Wilson.

Behold, Embrace yourself to meet your maker - will you say you thought he doesnt exist? No harm in believing in Jesus today! Avoid Shame...
====================================================
Thanks Wilson thou.

I do not understand how i use your IDIRECT-REMOTE-MIB.xml. I had tried to import this file but i failed. so can you plz tell me the use of IDIRECT-REMOTE-MIB.xml.

now Graph is not ploting. Can you plz give me your email address?

Thanks in Advance.

Regards
Tarikur Rahaman
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest