Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong result #15

Open
exitclear opened this issue Nov 28, 2022 · 4 comments
Open

Wrong result #15

exitclear opened this issue Nov 28, 2022 · 4 comments

Comments

@exitclear
Copy link

Hello, because I can't connect to the influxdb on H4, my Telegraf configuration chooses to collect the data of the switch, but why are all the "icmp_inachos" data I export from the influxdb 0? I also carried out ddos attacks and normal traffic, but the data obtained are all 0
thank you!

@Aptul
Copy link

Aptul commented Nov 28, 2022

How did you make it connect to the switch?

@exitclear
Copy link
Author

How did you make it connect to the switch?

Cancel the comment on the switch through the telograf.conf configuration file, and add the comment on the host

@pcolladosoto
Copy link
Member

pcolladosoto commented Dec 2, 2022

Hi @exitclear! I'm not really sure about what you problem is... I guess you mean that there's no data reaching InfluxDB: is that it?

Just like you said, you cannot reach the InfluxDB instance from the hosts belonging to the Mininet scenario: they "live" in two completely different networks. What you can do, however, is make the data reach InfluxDB through a regular file. After all, Mininet will only provide "network stacks" mimicking other systems, but all of them share the same (i.e. the host's) filesystem. You can try to run ls from within h4, for instance, and see what you get. You can take a look at this section of the documentation to find a bit more information on what's really going on behind the scenes.

I might be completely missing my shot here though: as I said, I'm not really sure about what they problem is... Could you maybe provide a bit more information?

@exitclear
Copy link
Author

Thank you for your reply @pcolladosoto !I ran ls from h4, but the file I got is consistent with the file in Ubuntu. As you said, I can send data to InfluxDB through a regular file, but what should I do?Or can I have any way to connect these two networks?
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants