Error SNMP

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
ISolRiofrio
Posts: 2
Joined: Mon Jul 18, 2011 6:37 pm

Error SNMP

Post by ISolRiofrio »

Hello, I speak little English... So please excuse any syntax errors... But I know some networks I download the installer of this with all the accessories needed ... When using it and add the devices I get the SNMP error, I searched about it but I do not understand ... Someone please explain to me ...
They are very appreciated ....

My mail is: isol_riofrio@hotmail.es, or isolelectronica@hotmail.es
Thanks
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Error SNMP

Post by BSOD2600 »

snmp errors are a sign the device isnt properly configured for snmp and/or a firewall is blocking snmp traffic.
ISolRiofrio
Posts: 2
Joined: Mon Jul 18, 2011 6:37 pm

Re: Error SNMP

Post by ISolRiofrio »

Thanks for the help ...
I'll check how it is configured the SNMP...
Because the firewall is off, and I do not think that the problem is
hshaik
Posts: 12
Joined: Fri Oct 14, 2011 11:52 am

Re: Error SNMP

Post by hshaik »

Hello,

I am having similar issues. I keep getting snmp error when I try to add a device or I get this website cannot display page. My localhost however shows up and its graphing everything fine. We have another cacti server that is running properly and I have no problem connecting to the host server from the "working cacti". We only have windows boxes so all my data queries are win services. I have gone under snmp and added public as community and added the proper ip addresses under trap destinations and security. I have also turned off all the firewall to make sure. I do get icmp ping success. Any help will be much appreciated.

My system

windows 2003
latest cacti windows installer
no cygwin
fresh install
hshaik
Posts: 12
Joined: Fri Oct 14, 2011 11:52 am

Re: Error SNMP

Post by hshaik »

If someone can plz help me it will be highly appreciated. I am a complete Newbie and just trying to learn. I read as much as I could but so far no luck. Everything on my windows installer installation went fine expect spine couldnt find a file called cygz.dll. I just downloaded that from the net. I just can't connect to any of my server even with all the firewall off and proper ip added to snmp allowed list.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Error SNMP

Post by BSOD2600 »

Stick with the cmd.php poller until you need spine's improvements.

use a snmp tool like getif or net-snmp to validate the snmp agent is properly configured on your troublesome windows box.
hshaik
Posts: 12
Joined: Fri Oct 14, 2011 11:52 am

Re: Error SNMP

Post by hshaik »

Thank you, for your response. I ran net-snmp and it said it was successful on agent and service. changed it to cmd.php instead of spine. Still no luck. I spoke to the vendor and having him reinstall os o nit. I got frustrated and installed it on another machine (win 2008 x64, windows installer) and snmp worked perfect with all the plugins and everything, the only problem I have on that is that for some reason win services data query is returning no information. I ran it in debug mode and below is what i got. To get the win services data queries, I exported the xml file from a working cacti that the office has (i got graph template, host template and data query win services).



+ Running data query [12].
+ Found type = '6 '[script query].
+ Found data query XML file at 'C:/inetpub/wwwroot/cacti/resource/script_server/win_services.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'C:\php\php.exe -q C:\inetpub\wwwroot\cacti\scripts\win_services.php 208.53.147.21 2:161:500:public:::::: index'
+ Executing script query 'C:\php\php.exe -q C:\inetpub\wwwroot\cacti\scripts\win_services.php 208.53.147.21 2:161:500:public:::::: query index'
+ Found data query XML file at 'C:/inetpub/wwwroot/cacti/resource/script_server/win_services.xml'
+ Found data query XML file at 'C:/inetpub/wwwroot/cacti/resource/script_server/win_services.xml'
+ Found data query XML file at 'C:/inetpub/wwwroot/cacti/resource/script_server/win_services.xml'
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Error SNMP

Post by BSOD2600 »

That script isn't part of the normal install. You'll need to contact the script author for support.

You can also start part way into http://docs.cacti.net/manual:087:4_help.2_debugging to troubleshoot.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests