[FR/EN] Probleme No response SNMP
Moderators: Developers, Moderators
[FR/EN] Probleme No response SNMP
[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 :
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 :
Donc je ne vois pas ou est le probleme ? Car cela fonctionne pour plein d'autre hôte ?
Merci
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 :
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 :
Donc je ne vois pas ou est le probleme ? Car cela fonctionne pour plein d'autre hôte ?
Merci
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: [FR/EN] Probleme No response SNMP
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.
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.
Re: [FR/EN] Probleme No response SNMP
Thanks to reply
What is the problem in this MIB ?
I launch this manually in the server, I find this :
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 :/
What is the problem in this MIB ?
I launch this manually in the server, I find this :
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 :/
Re: [FR/EN] Probleme No response SNMP
Up please :/
Re: [FR/EN] Probleme No response SNMP
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
But I see in this file and I don't find any problem.
Help please :S
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: [FR/EN] Probleme No response SNMP
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 ideasflyght wrote:Thanks to reply
What is the problem in this MIB ?
I launch this manually in the server, I find this :
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 :/
R.
Re: [FR/EN] Probleme No response SNMP
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.
++
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
- 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
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: [FR/EN] Probleme No response SNMP
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).mikygee wrote:... 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
I do NOT argue against tackling the MIB error above, though
R.
Re: [FR/EN] Probleme No response SNMP
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
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
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: [FR/EN] Probleme No response SNMP
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).boomker wrote:...should I put the MIBs file into the directory?
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.
Re: [FR/EN] Probleme No response SNMP
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
If I update my switch, do you think it will be better?
Thx
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: [FR/EN] Probleme No response SNMP
I have no reason to say yes or no.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
R.
Re: [FR/EN] Probleme No response SNMP
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.
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
- 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
Who is online
Users browsing this forum: No registered users and 7 guests