Hi everyone, I have a switch which is connected to the router and I want to know the speed of that connexion, at the moment I have Ifinoctet and Ifoutoctet on the port I want to supervise but it don't give me a speed just a number in octet (I suppose I have to make a delta). I would like the speed to be in kb /s. I've tried several things but I really don't know what to do... Any help would be MUCH appreciated ;D Thanks for the support
How can I see the speed ?
diego-spie · 16 nov 2012, 19:10 · 19 mensajes · 57 visitas
- Inicio del debate
I don't know if I was really clear in my description. This is what I get right now : (Link not available anymore) and this is my goal :
Please, if somebody could help me.... ThanksHello; You can get it by using module_postprocess So,if you want to multiply the data that the module gets with 1024 you should write down: module_postprocess 1024 In order to get the KB/S use: module_unit KB/S Regards
Thanks a lot for your answer !! When you say use module_postprocess, you mean in the script ? where exactly ? I use the snmp walk so I don't really know where I can modify those settings... Thanks
Hello; If you are using snmp walk I supposse that you are monitoring by polling snmp. In that case you could find this two parameters on the modules configuration (postprocess on advanced options) Regards!
Thanks, I did what you told me but I really don't understand... I'm sorry to be such a noob...
and I get that result
But this is not a speed, is it ? Ifinoctet represents a number of octet at a certain time not a speed, no ? Thank you a lot for your help.Hi; Sorry,I thought it was showing speed from the interface. In that case you should find the OID which shows you the speed from the interface. Regards
you mean like this ?
That's not really what I want, this is the speed of the port (100 or 1000) but not the traffic speed, you know to control the Bandwidth on that specific port. I don't know if I'm explainning that very well sorry...Hello; Use this: ((ifInOctets * 8) / 900) = bits per second (Throughput) You can set module_postprocess 8 After this you should create a module which brings you just the 900 value Finally,using a prediction server module (synthetic arithmetic) divide the ifinoctets module with the one that returns 900.This prediction module should bring you the speed value. Regards
Thanks, that's exactly what I want to do. Two questions (I hope the last ones) : - How do I create a module with a 900 value ? - How do I create a prediction server module with the web interface ? Thanks a lot for your patience
Hello Diego; Create a data server module with this data configuration(should be in a software agent): module_begin module_name example module_type generic_data module_exec echo 900 module_description example description module_end In order to use prediction server modules you should activate the parameter: predictionserver 1 on /etc/pandora/pandora_server.conf After this when choosing the module type to create you would see the option Create prediction server module. Regards
It's ok for the prediction module, this is what I have :
I've create ifinoctet with postprocess 8 and put it as origin module in the prediction module. Now the 900 module... I don't really understand why 900 (what it represents ?) And I don't know where to create the module you told me to, you know with : module_begin module_name example module_type generic_data module_exec echo 900 module_description example description module_end I understand this is the same structure than the agent you put on servers, but in my case with the switches, I don't know where I can put it. And finally, when the 900 module will be created, I don't know where I can configure the fact I have to divide the ifinoctets... Thanks a lotHello; In order to create a module which brings 900 value go first to: Manage Servers>Manage plugins>add a new plugin which "plugin command" could be echo 900 After this go to manage agents and add a new plugin server module (plugin server must be activated on pandora_server.conf) and on 'Plug-in' parameter choose the plugin you have created previously. Regards
Thanks, I still have some problems with : "Finally,using a prediction server module (synthetic arithmetic) divide the ifinoctets module with the one that returns 900.This prediction module should bring you the speed value." I have my 900 module
I want to create a prediction module
But then, I don't know how to configure it as synthetic arithmetic and where I have to put the 900 module for the division...
I think I'm pretty close but I'm not there yet... Thanks again for your kindness RegardsI found a good article on how to set it up on Zabbix, but I'm still trying to figure it out on Pandora. http://trycatch.be/blogs/decaluwet/archive/2010/03/09/snmp-read-ifinoctets-gt-great-trend-but-what-about-the-absolute-throughput-value.aspx
Yes that's exactly what I want to do ! I saw this article too ;D I'm still trying in pandora but no way I could pull this out by myself... I hope Nacho will give me the last push I need.
Anyone as an ultimate idea ? I think I'm really close but I can't finalize it myself...
Hi, Happy New year everyone ! Still nothing on my problem... Idea anyone ?? Thanks !
I found a good article on how to set it up on Zabbix, but I'm still trying to figure it out on Pandora. http://trycatch.be/blogs/decaluwet/archive/2010/03/09/snmp-read-ifinoctets-gt-great-trend-but-what-about-the-absolute-throughput-value.aspx
generic_data_inc modules type manage information as delta, giving unit/sec as result. This is the default behaviour for "built-in" interface in/out throughput snmp modules in pandora (in bytes/sec), if you want to report in KBytes, just use the multiplier 0,0009765625 (1/1024).
Entra en tu cuenta para publicar.
