Connection Cacti -> iDirect (VSAT)

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

Moderators: Developers, Moderators

Post Reply
closen
Posts: 7
Joined: Tue Jun 21, 2022 5:22 am

Connection Cacti -> iDirect (VSAT)

Post by closen »

Hello, I just install cacti on a Centos 7 server.
The goal of this project is to connect the cacti server to the iDirect NMS server in order to have graph of the VSAT.
I'm stuck on an issue since 1 week and I read everything I could on this subject on internet so you are my last hope.
When I'm trying to connect Cacti to NMS server I need to make a SNMP connectio between them, the thing is that cacti can't connect with SNMP to the NMS Server.
Image
As you can see with this image I'm able to ping the NMS server from cacti but the SNMP request isnt working.

Please let me know if you need any more information .
By the way I'm an intern so I'm learning everything right now :D
Attachments
Capture.PNG
Capture.PNG (29.97 KiB) Viewed 1517 times
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Connection Cacti -> iDirect (VSAT)

Post by Osiris »

One of the following is wrong:

1) You have the wrong snmp information
2) You have a firewall blocking the packets
3) You monitored device has an acl blocking the Cacti server IP.
4) You are trying to access the monitored device using SNMPv3 advanced setting with php-snmp installed.

If using some complicated SNMPv3 setup, I suggest you upgrade to Cacti 1.2.21.
Before history, there was a paradise, now dust.
closen
Posts: 7
Joined: Tue Jun 21, 2022 5:22 am

Re: Connection Cacti -> iDirect (VSAT)

Post by closen »

Hi Osiris,
Thank you very much for your reply.
1) I'm using the ip of the iDIrect NMS Server and I check for the community string so I'm sure that I'm using the good one.
2) I already try to disable firewall on the NMS Server for a short time but it wasnt working anyway.
3) It could be that but I've no idea how to check it can you help me ?
4) I'm using SNMPv2 at the moment.
Thank you in advance for your answer.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Connection Cacti -> iDirect (VSAT)

Post by TheWitness »

From the Cacti server, you need to get this working first:

Code: Select all

snmpwalk -v2c -c <yourcommunity> <yourhost> .1.3
Once this works, Cacti will start to work.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
closen
Posts: 7
Joined: Tue Jun 21, 2022 5:22 am

Re: Connection Cacti -> iDirect (VSAT)

Post by closen »

Thank you for your answer,
I have tried this request but its not working.
For example if I try to ping the NMS server from the cacti its working. But if I ping the cacti server from the NMS its not working.
I think thats why the SNMP request isnt working.
Maybe I'm on the wrong forum to Ask help about that . Please let me know.
This is my first Work in IT thats why I look like a noob.
Best regards,
closen
Posts: 7
Joined: Tue Jun 21, 2022 5:22 am

Re: Connection Cacti -> iDirect (VSAT)

Post by closen »

When I check the rules of iptables on my NMS server I can see that Cacti IP is accepted.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Connection Cacti -> iDirect (VSAT)

Post by TheWitness »

If in a corp environment, firewalls can be oppressive.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
closen
Posts: 7
Joined: Tue Jun 21, 2022 5:22 am

Re: Connection Cacti -> iDirect (VSAT)

Post by closen »

Yes it's in a corp environment, can you give me some advices of where I should look ?
When I go to etc/sysconfig/iptables, I only find the new rules that I create to accept Cacti server IP.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Connection Cacti -> iDirect (VSAT)

Post by TheWitness »

Until snmpget works or snmpwalk works from the command line, you'll have to talk to your corporate Network people. They will know why. You could be natted or they are blocking SNMP.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest