Odd Installation Problem
Moderators: Developers, Moderators
Data Query Debug Information
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/htdocs/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/htdocs/cacti/resource/snmp_queries/interface.xml'
---
is it good or bad?
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/htdocs/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/htdocs/cacti/resource/snmp_queries/interface.xml'
---
is it good or bad?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Ah, for future reference, you had to create /var/www/tmp because apache is running in a chroot.
I didn't notice support for snmp installed in php. So, you have to use the net-snmp binaries. Because you are using a chroot, you have to link or copy snmpget and snmpwalk into a directory in the chroot and change the path in cacti to be relative to the chroot directory.
I didn't notice support for snmp installed in php. So, you have to use the net-snmp binaries. Because you are using a chroot, you have to link or copy snmpget and snmpwalk into a directory in the chroot and change the path in cacti to be relative to the chroot directory.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
The path to snmpget would be "/cacti/snmpget", is that what you put?
And I don't know if it will work right if you copy it... You may need more things to make it work right.
Might just be easier to get snmp support working in php..
And I don't know if it will work right if you copy it... You may need more things to make it work right.
Might just be easier to get snmp support working in php..
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
I think we are getting closer
This is the nmap results :
Open Ports:
80
169
199
514
3306
4500
, I see that snmpd is working , right ?
Here is my snmpd.conf which is located under /etc/snmp : ( maybe the file settings are wrong? )
---
syslocation
syscontact
sysservices 79
rocommunity public
agentuser root
agentgroup wheel
agentaddress 169
---
is there anything wrong with snmpd.conf ?
This is the nmap results :
Open Ports:
80
169
199
514
3306
4500
, I see that snmpd is working , right ?
Here is my snmpd.conf which is located under /etc/snmp : ( maybe the file settings are wrong? )
---
syslocation
syscontact
sysservices 79
rocommunity public
agentuser root
agentgroup wheel
agentaddress 169
---
is there anything wrong with snmpd.conf ?
-
- Posts: 14
- Joined: Wed Aug 24, 2005 11:11 am
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Are you running poller.php from cron every 5 minutes?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Posts: 14
- Joined: Wed Aug 24, 2005 11:11 am
I have a similar issue, cannot see any graphs, although I have one graph being created but only has one thin line of information in it for 12:30 which is weird. I've got my cron job running although cron reports the following:
Sep 22 13:55:01 nagios crond[11019]: (root) CMD (cactiuser /usr/local/httpd/php/bin/php /usr/local/httpd/htdocs/cacti/poller.php > /dev/null 2>&1)
Sep 22 13:55:01 nagios crond[11019]: (root) CMD (cactiuser /usr/local/httpd/php/bin/php /usr/local/httpd/htdocs/cacti/poller.php > /dev/null 2>&1)
Well this is the results..
crontab is running by root, that might be any problem?
"*/5 * * * * root php ....."
also I'm running chrooted apache
but rrdtool,snmpwalk,snmpget commands configured in cacti settings are :
for rrdtool : /usr/local/bin/rrdtool
for snmpwalk : / usr/local/bin/snmpwalk
for snmpget : /usr/local/bin/snmpget
---
2nd problem:
also I'm facing with the problem while trying to add graphs to a host:
crontab is running by root, that might be any problem?
"*/5 * * * * root php ....."
also I'm running chrooted apache
but rrdtool,snmpwalk,snmpget commands configured in cacti settings are :
for rrdtool : /usr/local/bin/rrdtool
for snmpwalk : / usr/local/bin/snmpwalk
for snmpget : /usr/local/bin/snmpget
---
2nd problem:
also I'm facing with the problem while trying to add graphs to a host:
- Attachments
-
- 2nd Problem
- snmp.JPG (48.55 KiB) Viewed 1752 times
-
- 1st problem
- broken.JPG (22.88 KiB) Viewed 1754 times
Who is online
Users browsing this forum: No registered users and 1 guest