[solved] SNMP Error
Moderators: Developers, Moderators
[solved] SNMP Error
I am facing snmp error and i am new in cacti, thanks for help.
And i try to create graphs, it unable to display the graph
below is the debug error
Data Query Debug Information
+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'C:\php\php.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php 182.239.42.22 3 1:161:500:1:10:public:::::: index'
+ Executing script query 'C:\php\php.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php 182.239.42.22 3 1:161:500:1:10:public:::::: query index'
+ Executing script query 'C:\php\php.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php 182.239.42.22 3 1:161:500:1:10:public:::::: query description'
+ Executing script query 'C:\php\php.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php 182.239.42.22 3 1:161:500:1:10:public:::::: query sau'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_disk.xml'
And i try to create graphs, it unable to display the graph
below is the debug error
Data Query Debug Information
+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'C:\php\php.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php 182.239.42.22 3 1:161:500:1:10:public:::::: index'
+ Executing script query 'C:\php\php.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php 182.239.42.22 3 1:161:500:1:10:public:::::: query index'
+ Executing script query 'C:\php\php.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php 182.239.42.22 3 1:161:500:1:10:public:::::: query description'
+ Executing script query 'C:\php\php.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php 182.239.42.22 3 1:161:500:1:10:public:::::: query sau'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/cacti/resource/script_server/host_disk.xml'
- Attachments
-
- error.JPG (165.41 KiB) Viewed 2659 times
Re: SNMP Error
Enclose the technical support report
- Attachments
-
- Technical Support.doc
- (189 KiB) Downloaded 213 times
Re: SNMP Error
This is cacti current version
Current Versions:
-Cacti 0.8.7g
--Patches:
--Data Source Deactivation
--Graph List View Searching
--Interface Display
--LDAP Group Authenication
--Script Server Command Line Options
--Ping Response Fix
--One Minute Polling Interval Fix
-Spine 0.8.7g
-PIA 2.8
-Apache 2.2.16
-MySQL 5.1.50
-PHP 5.2.14
-Net-SNMP 5.5.0.2
-RRDTool 1.2.30
-GetIF 2.3.1
Current Versions:
-Cacti 0.8.7g
--Patches:
--Data Source Deactivation
--Graph List View Searching
--Interface Display
--LDAP Group Authenication
--Script Server Command Line Options
--Ping Response Fix
--One Minute Polling Interval Fix
-Spine 0.8.7g
-PIA 2.8
-Apache 2.2.16
-MySQL 5.1.50
-PHP 5.2.14
-Net-SNMP 5.5.0.2
-RRDTool 1.2.30
-GetIF 2.3.1
Re: SNMP Error
snmp error -- did you search the forums for it? this has been covered dozens of times.
you don't have the snmp agent properly configured or a firewall is blocking snmp traffic.
you don't have the snmp agent properly configured or a firewall is blocking snmp traffic.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: SNMP Error
I tried search from forum and use all the solution...but the problem still exist
Turn the logging level in cacti to debug, manually invoke the poller from the command line, and post the results. Run: php <cactipath>\poller.php.
--------------------------------------------------
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\Documents and Settings\Administrator>php C:\Inetpub\wwwroot\cacti\poller.php
10/20/2010 03:07:03 AM - POLLER: Poller[0] WARNING: Scheduled Task is out of syn
c with the Poller Interval! The Poller Interval is '300' seconds, with a maximu
m of a '300' second Scheduled Task, but 145522 seconds have passed since the las
t poll!
10/20/2010 03:07:04 AM - SYSTEM STATS: Time:1.4340 Method:cmd.php Processes:2 Th
reads:N/A Hosts:3 HostsPerProcess:2 DataSources:14 RRDsProcessed:0
C:\Documents and Settings\Administrator>
---------------------------------------------------
is it cause of this?
Turn the logging level in cacti to debug, manually invoke the poller from the command line, and post the results. Run: php <cactipath>\poller.php.
--------------------------------------------------
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\Documents and Settings\Administrator>php C:\Inetpub\wwwroot\cacti\poller.php
10/20/2010 03:07:03 AM - POLLER: Poller[0] WARNING: Scheduled Task is out of syn
c with the Poller Interval! The Poller Interval is '300' seconds, with a maximu
m of a '300' second Scheduled Task, but 145522 seconds have passed since the las
t poll!
10/20/2010 03:07:04 AM - SYSTEM STATS: Time:1.4340 Method:cmd.php Processes:2 Th
reads:N/A Hosts:3 HostsPerProcess:2 DataSources:14 RRDsProcessed:0
C:\Documents and Settings\Administrator>
---------------------------------------------------
is it cause of this?
Re: SNMP Error
Nope, you need to fix the snmp issue first. As I stated before, you don't have the snmp agent properly configured or a firewall is blocking snmp traffic.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: SNMP Error
Thanks BSOD~ The SNMP error has been resolved. After resolved it, i tried to create new graph and it was created successfully but it is cannot display the graph at all...any idea?
Re: SNMP Error
What graph is it?
paste the graph debug output here.
follow http://docs.cacti.net/manual:087:4_help ... #debugging
paste the graph debug output here.
follow http://docs.cacti.net/manual:087:4_help ... #debugging
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: SNMP Error
Thanks for your help BSOD
Below is the debug code:
RRDTool Command:
C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="localhost - Traffic - 182.239.42.22 (Citrix PV Ether)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/2/9.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/2/9.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
ERROR: opening 'C:/Inetpub/wwwroot/cacti/rra/2/9.rrd': No such file or directory
------------------------------------
I have deployed it in my home PC which is Windows 7 and it has no problem, but i face this kind of problem in my windows server 2003
My localhost status is Unknown for now...
Below is the debug code:
RRDTool Command:
C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="localhost - Traffic - 182.239.42.22 (Citrix PV Ether)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/2/9.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/2/9.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
ERROR: opening 'C:/Inetpub/wwwroot/cacti/rra/2/9.rrd': No such file or directory
------------------------------------
I have deployed it in my home PC which is Windows 7 and it has no problem, but i face this kind of problem in my windows server 2003
My localhost status is Unknown for now...
Re: SNMP Error
Does snmp report errors too on this device?allenlow wrote:My localhost status is Unknown for now...
How did you create the traffic graph?
Did you read the installation guide when you set up cacti?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: SNMP Error
Thanks..i found that my schedule task is not running coz the problem...resolved this problem now.
After turn on the schedule task which 5 minutes to run, it will prompt out command prompt screen every 5 minutes...is there other way to hide the command prompt?
After turn on the schedule task which 5 minutes to run, it will prompt out command prompt screen every 5 minutes...is there other way to hide the command prompt?
Re: SNMP Error
Don't logon to the server with the same account ask the scheduled task.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 2
- Joined: Tue Dec 14, 2010 11:50 am
Re: [solved] SNMP Error
I hate to say it, but I have this problem as well... even after reading the documentation, FAQ and forums.
I've properly set up SNMP under Services, enabling all agents and allowing packets from localhost. I've also added the firewall exception for SNMP and SNMP trap.
I installed Getif and tried getting SNMP information from localhost about localhost and it returns 'No SNMP Response from 12.0.0.1'.
Suggestions?
I've properly set up SNMP under Services, enabling all agents and allowing packets from localhost. I've also added the firewall exception for SNMP and SNMP trap.
I installed Getif and tried getting SNMP information from localhost about localhost and it returns 'No SNMP Response from 12.0.0.1'.
Suggestions?
Re: [solved] SNMP Error
I hate to say it... but you don't have everything configured properly
You know localhost is 127.0.0.1, right?
Did you add a community to the snmp service?
What firewall you using? Does its logs show blocking snmp?
What antivirus you using? Does its logs show blocking snmp?
You know localhost is 127.0.0.1, right?
Did you add a community to the snmp service?
What firewall you using? Does its logs show blocking snmp?
What antivirus you using? Does its logs show blocking snmp?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 7 guests