Install requested - help?

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
mengesb
Posts: 16
Joined: Fri Jun 08, 2007 4:41 pm

Install requested - help?

Post by mengesb »

I'm getting tired of trying to get mrtg/rtg/cacti/ and other bandwidth monitoring tools installed and configured with my centos 5 system that I'm about to chuck the darn thing into the SF Bay.

I'm in need of someone who can honestly come into my server, set up cacti (installed, not showing graphs, giving error messages which I'll paste below), and not decide to compromise my system. This can be fee based, or idiot based - i.e. I'm an idiot and its an easy fix so someone will be polite enough to point out my ignorance and help for free.

This is the recent error:
[root@sano snmp]# php /var/www/html/cacti/poller.php
Timeout: No Response from 127.0.0.1:161.
06/08/2007 02:43:38 PM - SYSTEM STATS: Time:3.0473 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:6 RRDsProcessed:0

I can't get images generated, and I'm not sure if it also may have something to do with my snmpd.conf. I have confirmed that snmpd is running, and I installed rrdtool from source. Help?
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Re: Install requested - help?

Post by fmangeant »

mengesb wrote:Timeout: No Response from 127.0.0.1:161.
Hi

it seems Net-SNMP is not running on your Cacti server.
Is this server 'up' (in Console -> Devices) ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
mengesb
Posts: 16
Joined: Fri Jun 08, 2007 4:41 pm

Post by mengesb »

It looks like I got the system running - appeard that my snmpd was the source of the issue, so once I got past that hurdle we were good to go.

I do have some other issues, which I'll have to post later - so I'll be back to post my new issues =)
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Email me, we can discuss consulting services.
[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]
mengesb
Posts: 16
Joined: Fri Jun 08, 2007 4:41 pm

Post by mengesb »

It looks like the problem lay in my snmpd.conf - so here's my present one which works for most things:

Code: Select all

com2sec local     localhost public
group MyROGroup v1         local
group MyROGroup v2c        local
group MyROGroup usm        local
view all    included  .1                               80
access MyROGroup ""      any       noauth    exact  all    none   none
One thing that I am noticing is that its not reporting disk space usage correctly, or my ram usage correctly. Could someone help me on this? Also I'm wondering why in the preview pane the network device images aren't showing - but the graph is being produced when I click on it... strange (to me at least).

Thank you anyone for the help.
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Can you try with this in snmpd.conf :

Code: Select all

rocommunity public
disk /
If that works, follow the HowTo in my signature.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
mengesb
Posts: 16
Joined: Fri Jun 08, 2007 4:41 pm

Post by mengesb »

fmangeant wrote:Can you try with this in snmpd.conf :

Code: Select all

rocommunity public
disk /
If that works, follow the HowTo in my signature.
Wow, don't I feel slightly retarded... Looks like I choose a specific device, and only now did it occur to me that it was my boot partition, instead of my volume group... damn new partition tables...

Anyway - Now on to the memory problem. I just setup my cacti to poll another system, and straight out of the box it worked like a charm! A few minor adjustments to the snmpd.conf and it was working perfectly! Any ideas why the localhost system isn't reporting the correct 2 gigs ram in the graph? I can attach a screenshot if needed.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests