[FR/EN] Probleme No response SNMP

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

Moderators: Developers, Moderators

Post Reply
flyght
Posts: 4
Joined: Thu Jan 17, 2013 3:27 am

[FR/EN] Probleme No response SNMP

Post by flyght »

[EN]Hello, (sorry for my bad english, i'm french)
I have a Debian 6 server with Nagios 3.3.1 and Cacti 0.8.7g.
And when i add a new host, there are no error, there is a good response from ping.

But when i want to create the host's graph for each interfaces, it's empty and when i launch the debug i obtain this :
Image

SO, what is the problem ?
If you can speak in french in this topic, i prefer, thanks.

[FR]Bonjour,
Je possède un serveur Debian 6 avec un Nagios 3.3.1 et Cacti 0.8.7g.
Quand je créé un nouvel hôte, il n'y a pas d'erreurs, totu est bien créé, et il répond bien aux ping.
Mais quand je créé le graph de l'hôte pour chaque interface en fait il ne m'affiche pas les interfaces mais juste la phrase de debug qui me donne ceci :
Image

Donc je ne vois pas ou est le probleme ? Car cela fonctionne pour plein d'autre hôte ?



Merci
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: [FR/EN] Probleme No response SNMP

Post by gandalf »

The host is usually considered as up in case the ifDescription can be fetched via SNMP (depending on downed host detection).

In the Data Query you pointed us at, you're asking for the SNMP interface table. Depending on the SNMP configuration of the target host, this table may not be accessible by Cacti. To check, please run an snmpwalk against .1.3.6.1.2.1.2.2.1.1 manually and watch for errors.
You may as well have a look at the 2nd link of my signature more more elaborated debugging
R.
flyght
Posts: 4
Joined: Thu Jan 17, 2013 3:27 am

Re: [FR/EN] Probleme No response SNMP

Post by flyght »

Thanks to reply

What is the problem in this MIB ?
I launch this manually in the server, I find this :

Image

I don't really handerstand what I want to do on your second link. :/ I have to test all synthaxe ?


I don't handerstand why certain host are good but other host with the same configuration aren't good :/
flyght
Posts: 4
Joined: Thu Jan 17, 2013 3:27 am

Re: [FR/EN] Probleme No response SNMP

Post by flyght »

Up please :/
flyght
Posts: 4
Joined: Thu Jan 17, 2013 3:27 am

Re: [FR/EN] Probleme No response SNMP

Post by flyght »

In other forum, i saw people who said it's snmpd.conf who is the problem.
But I see in this file and I don't find any problem.

Help please :S
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: [FR/EN] Probleme No response SNMP

Post by gandalf »

flyght wrote:Thanks to reply

What is the problem in this MIB ?
I launch this manually in the server, I find this :

Image

I don't really handerstand what I want to do on your second link. :/ I have to test all synthaxe ?


I don't handerstand why certain host are good but other host with the same configuration aren't good :/
This shows, that the local MIBs are not correct. Unfortunately, this is quite usual. So it is better to disable MIB file scanning. On a Linux system, poller.php should do that automatically (setting MIBS=''). As the command returned valid interface indexes, I'm currently out of ideas
R.
mikygee
Cacti User
Posts: 88
Joined: Thu Jul 30, 2009 3:13 am

Re: [FR/EN] Probleme No response SNMP

Post by mikygee »

Salut,

En effet, prends l'habitude de faire un snmpwalk sur ton host quand tu fais un troubleshooting. Ne serait-ce que pour vérifier que les flux ne sont pas bloqués ou comme dans ton cas présent, qu'il ne manque pas des mibs.

Pourrais-tu télécharger
ftp://ftp.cisco.com/pub/mibs/v2/OSPF-MIB.my
ftp://ftp.cisco.com/pub/mibs/v2/IPV6-MIB.my
http://www.ieee802.org/1/files/public/M ... 50000Z.txt
et placer ces fichiers dans
/usr/share/mibs

Tous tes équipements Cisco ne tournent pas sous le même IOS ou n'ont pas les mêmes fonctionalitées d'activées, et lorsque ton équipement répond à snmpwalk les résultats sont donc différents.

++
Some info about my system
- Cacti: 0.8.8g / OpenBSD 6.6
- Third Party: Nginx 1.16.1 / PHP 7.3.10 / MariaDB 10.3.18v1 / NET-SNMP version 5.8p2 / RRDTool 1.7.2
- Plugins: Weathermap 0.97c / Settings 0.71 / Thold 0.5 / Flowview 1.1 / Realtime 0.5.2 / Predict 1.0
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: [FR/EN] Probleme No response SNMP

Post by gandalf »

Thanks for dropping in. But honestly, Cacti does not use any MIBs (well, it IS possible to use a textual string when fetching SNMP data instead of ASN.1 OIDs; but plain Cacti does not use this and the example above shows, that a numerical OID has been queried).
I do NOT argue against tackling the MIB error above, though
R.
boomker
Posts: 3
Joined: Fri Jan 18, 2013 2:23 am

Re: [FR/EN] Probleme No response SNMP

Post by boomker »

Hello,
I have the same problem, I have no cisco equipments, should I put the MIBs file into the directory?
Sorry for my bad bad bad english.

Pour ceux qui parle, francais, je n'ai pas d'equipements cisco, faut il quand même que je mette les fichierzs de mibs dans le dossier comme il a été dit plus haut?

Thx
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: [FR/EN] Probleme No response SNMP

Post by gandalf »

boomker wrote:...should I put the MIBs file into the directory?
Even in your case same facts are valid: Cacti does not use MIBs. You don't need any MIB to make it work. For performance reasons, it is even better not to use MIBs even in case they are present (parsing a MIB consumes CPU cycles without providing real benefits).
In case your custom resources do NOT work, please first see the walkthroughs at 1st link of my sig or the debugging guide at 2nd link of my sig
R.
boomker
Posts: 3
Joined: Fri Jan 18, 2013 2:23 am

Re: [FR/EN] Probleme No response SNMP

Post by boomker »

After search, the problem seem to be the firmware of my equipments.
If I update my switch, do you think it will be better?

Thx
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: [FR/EN] Probleme No response SNMP

Post by gandalf »

boomker wrote:After search, the problem seem to be the firmware of my equipments.
If I update my switch, do you think it will be better?

Thx
I have no reason to say yes or no.
R.
mikygee
Cacti User
Posts: 88
Joined: Thu Jul 30, 2009 3:13 am

Re: [FR/EN] Probleme No response SNMP

Post by mikygee »

boomker, apparement non Cacti n'utilise pas ces fichiers lors de ses pollings, cependant snmpwalk les utilisera par défaut, personnellement je te conseille de les mettre.
Et fais un snmpwalk sur l'OID précisé par Gandalf.

Thank you Gandalf for this clarification, I didn't know that Cacti didn't use the MIBs.
Some info about my system
- Cacti: 0.8.8g / OpenBSD 6.6
- Third Party: Nginx 1.16.1 / PHP 7.3.10 / MariaDB 10.3.18v1 / NET-SNMP version 5.8p2 / RRDTool 1.7.2
- Plugins: Weathermap 0.97c / Settings 0.71 / Thold 0.5 / Flowview 1.1 / Realtime 0.5.2 / Predict 1.0
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest