No new RRA's - fresh install

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

k
Posts: 18
Joined: Mon Mar 21, 2005 12:29 pm

No new RRA's - fresh install

Post by k »

I've got a fresh cacti install of 0.8.6c - install seems fine & I get the initial set of localhost charts with data coming into them.

I've now tried to define my router to cacti & after going through the process (below) and running poller.php I get no RRA's.

I did this:
1. Create a new host template, assigned the Graph template "Interface - Traffic (bytes/sec)" to it and the Data Query "SNMP - Interface Statistics".
2. Create a new device, provide the SNMP details, assign it to my new host template. Click create then look back at the device & it's showing the SNMP information at the top correctly and the associated Graph and Data Queries as per my host template.
3. In the devices list localhost has a status of "Up", but my new device is always "Unknown"
4. "New Graphs", select my new device. On the new graphs screen, select the graph template for "Interface - Traffic (bytes/sec)" and one of the listed interfaces in the "Data Query" section. Click create.
5. "Create Graph from Interface" page appears - I didn't change anything here although the bottom 3 fields "Index Type", "Index Value" and "Output Type ID" are blank & I can't find a doc to tell me what should be in there (maybe I'm having a thick moment!). Click create and we're all good (or so I think).
6. su <mycactiuser> - & run poller.php - runs ok but no mention in the debug output of my new device - just the localhost.
7. Check in the rra directory - no files for my new device - only localhost.

What am I doing wrong?!

I've checked;
poller_item table - contains localhost only
cacti.log - same as stdout from poller.php (stdout shown below);
[cactiuser@nv02-vm-ux cacti]$ /usr/local/php/bin/php poller.php
03/25/2005 01:38:36 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/php/bin/php, ARGS: -q /var/www/cacti/cmd.php 0 2]
Waiting on 1/1 pollers.
03/25/2005 01:38:37 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.04' [map 1min->load_1min]
03/25/2005 01:38:37 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.09' [map 5min->load_5min]
03/25/2005 01:38:37 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.04' [map 10min->load_15min]
03/25/2005 01:38:37 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1111757916:203384
03/25/2005 01:38:37 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/localhost_mem_swap_4.rrd --template mem_swap 1111757916:1052248
03/25/2005 01:38:37 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1111757916:0.04:0.09:0.04
03/25/2005 01:38:37 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/localhost_users_6.rrd --template users 1111757916:2
03/25/2005 01:38:37 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/localhost_proc_7.rrd --template proc 1111757916:139
03/25/2005 01:38:37 PM - SYSTEM STATS: Time: 1.1663 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
OK u:0.00 s:0.02 r:1.04
OK u:0.00 s:0.02 r:1.04
OK u:0.00 s:0.02 r:1.04
OK u:0.00 s:0.02 r:1.05
OK u:0.00 s:0.02 r:1.05


I can see in the hosts table that my device is there.

Also, I've tried to repeat the process by adding a new graph template to my host template and then going back into my host to add that graph to it, but the new graph doesn't appear in the list to select. I thought (could be wrong!) that the templates thing was dynamic - if I add a new graph template to a host template then I can automatically add those graphs to that host?? Am I missing something else?!

I've dropped and re-created my cacti mysql database & re-applied all the grant's.

I'm stuck - any help appreciated!

If the are more logs etc to look at/info to provide let me know - I'm new to cacti so probably don't know all the places to look in yet.

Ta

K
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

1. Create a new host template, assigned the Graph template "Interface - Traffic (bytes/sec)" to it and the Data Query "SNMP - Interface Statistics".
There is your problem. You only should be adding the Data Query to the Template, it then uses the graph templates and data templates to create graphs based on your the what the Data query gathered.
[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]
k
Posts: 18
Joined: Mon Mar 21, 2005 12:29 pm

Post by k »

I had a look around and I can see the "Generic SNMP-enabled host" has no graph templates & only the SNMP Interface Statistics data query assigned.

So I've set the host template for my device to "Generic SNMP-enabled host", saved the device, re-opened the device and it shows the data query at the bottom status=Success 25 items 5 rows (verbose looks correct too). But there are no listed "Associated Graph Templates", the drop-down list doesn't include any of the Interface graph templates I want to see - the In/Out traffic ones are what I'm after.

When I run poller.php again still no luck - no RRA's & the logging only mentions localhost.

Maybe I'm mis-understanding??
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

After you do that, click the *big* link at the top that says "Create Graphs for this Host"... ;)
[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]
k
Posts: 18
Joined: Mon Mar 21, 2005 12:29 pm

Post by k »

big link already clicked....

If I go into "New Graphs" & select my new device I see "Graph Templates" & a list of the graphs I expect and at the bottom under "Data Query" I see a list of interfaces.

I selected one of the graphs & the two interfaces I wanted, clicked create then save. That graph is now grey'd out on the above screen.

When I click "Data Sources" I see a list of sources for my device.

When I click back on my new device under "Devices" it shows the charts & one of them claims it's being graphed.....

Boy I must be doing something really dumb somewhere!
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Have you scheduled the poller to run every 5 minutes?

If so, please turn on Debug logging and post 1 poller cycle from the cacti.log.
[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]
k
Posts: 18
Joined: Mon Mar 21, 2005 12:29 pm

Post by k »

Just in case:
RH ES 2.1
PHP 4.3.10 (cli) (built: Mar 16 2005 17:58:59)
mysql Ver 14.7 Distrib 4.1.10a, for pc-linux-gnu (i686)


crontab has:
*/5 * * * * cactiuser /usr/local/php/bin/php /var/www/cacti/poller.php > /dev/null 2>&1



poller.php says:

[cactiuser@nv02-vm-ux cacti]$ /usr/local/php/bin/php poller.php
03/25/2005 10:12:10 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/php/bin/php, ARGS: -q /var/www/cacti/cmd.php 0 3]
Waiting on 1/1 pollers.
03/25/2005 10:12:11 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.08' [map 1min->load_1min]
03/25/2005 10:12:11 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.03' [map 5min->load_5min]
03/25/2005 10:12:11 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.01' [map 10min->load_15min]
03/25/2005 10:12:11 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1111788730:284928
03/25/2005 10:12:11 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/localhost_mem_swap_4.rrd --template mem_swap 1111788730:1052248
03/25/2005 10:12:11 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1111788730:0.08:0.03:0.01
03/25/2005 10:12:11 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/localhost_users_6.rrd --template users 1111788730:2
03/25/2005 10:12:11 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/localhost_proc_7.rrd --template proc 1111788730:134
03/25/2005 10:12:11 PM - SYSTEM STATS: Time: 1.1244 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Process: 3
OK u:0.00 s:0.02 r:1.04
OK u:0.00 s:0.02 r:1.05
OK u:0.00 s:0.02 r:1.05
OK u:0.00 s:0.02 r:1.06
OK u:0.00 s:0.02 r:1.06


In the cactidb database the poller_item table is empty - that doesn't sound good to me, but I see no errors about not being able to write to the tables & I'd think having added Devices & a host template means it's happy about the db access.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

What happens when you attempt to use the supplied host template for SNMP host?
[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]
k
Posts: 18
Joined: Mon Mar 21, 2005 12:29 pm

Post by k »

I tried another server I have, set it to use the Generic SNMP Host & on the 1st try I got the duplicate data source issue (although I am 0.8.6c fresh install). I checked the data source & sure enough - 4 copies of the same source index (inx4, outx4) - I cleaned these up & that new host works fine.

So I'm thinking it must be the snmp output from this router (router01) that is causing the problem & that the Data Query doesn't get back what it expects for some reason.

I've re-created this device and attached the Generic Host SNMP template. When I look at the device under Devices it shows one data query for interface stats. Below is the output from the verbose query there:

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/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'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Found item [ifIndex='4'] index: 4 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='0'] index: 2 [from value]
+ Found item [ifOperStatus='0'] index: 3 [from value]
+ Found item [ifOperStatus='Up'] index: 4 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='Ethernet0'] index: 1 [from value]
+ Found item [ifDescr=''] index: 2 [from value]
+ Found item [ifDescr=''] index: 3 [from value]
+ Found item [ifDescr='ADSL'] index: 4 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Found item [ifName='End of MIB'] index: End of MIB [from value]
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Found item [ifAlias='End of MIB'] index: End of MIB [from value]
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='ethernetCsmacd(6)'] index: 1 [from value]
+ Found item [ifType='0'] index: 2 [from value]
+ Found item [ifType='0'] index: 3 [from value]
+ Found item [ifType='adsl(94)'] index: 4 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='100000000'] index: 1 [from value]
+ Found item [ifSpeed='0'] index: 2 [from value]
+ Found item [ifSpeed='0'] index: 3 [from value]
+ Found item [ifSpeed='576000'] index: 4 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr='30:30:2E:35:30:2E'] index: 1 [from value]
+ Found item [ifHwAddr='00:00:00:00:00:00'] index: 2 [from value]
+ Found item [ifHwAddr='00:00:00:00:00:00'] index: 3 [from value]
+ Found item [ifHwAddr='00:00:00:00:00:00'] index: 4 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/interface.xml'

So that looks ok (to me ;-) ). I've clicked to create graphs, this shows me 4 interfaces on the router - 2 of which I want graphs for. I select the two, change the drop-down to In/Out Bytes and click create - all OK.

That screen show this at the top:
+ Created graph: router01 - Traffic - |query_ifDescr|/|query_ifIndex|
+ Created graph: router01 - Traffic - |query_ifDescr|/|query_ifIndex|

Run poller.php & no luck, my router01 is still not appearing.

I can see the above two as data sources with the same names - I would have thought that would make it collect?!

Not sure if it's related, but on my list of devices the two machines I've added show as up, but router01 has always said "Unknown". I'm not sure if that affects cacti adding poller entries for this host? Also - what does unknown mean in this context - is there some icmp going on?

Thanks in advance

K
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

What OS are you running?

Have you patched your cacti installation with all the latest patches?
[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]
k
Posts: 18
Joined: Mon Mar 21, 2005 12:29 pm

Post by k »

Redhat ES 2.1
I hadn't applied the patches, but now I have and the situation is worse!
I now get "SNMP error" at the top of the device screen & the verbose output from the data query now says:

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/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 '/var/www/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/interface.xml'


But when I run the same snmpwalk it works:

[root@<myhost> cacti]# snmpwalk -c public 192.168.1.1 .1.3.6.1.2.1.2.2.1.1
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4

My other two hosts that were working now also have SNMP errors.... Better start looking at how to regress these patches!

My original problem seems to be that the poller_item table isn't updated with the polling information. I've started to look at the code now & poller.php seems happy with my host & it's selected from the hosts table ok & passed on to cmd.php, but cmd.php looks in poller_item & of course my host isn't in there. I'm going to start looking for the code that writes to poller_item to see if I can find what's up. I'm quite please php looks similar to perl ;-) - sleeves rolled up....
k
Posts: 18
Joined: Mon Mar 21, 2005 12:29 pm

Post by k »

Well I think I've found the source of the problem - the router is returning a little too much when it comes to greating the graphs.

When creating/editing the new device the verbose SNMP query looks ok;

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/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'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Found item [ifIndex='4'] index: 4 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='0'] index: 2 [from value]
+ Found item [ifOperStatus='0'] index: 3 [from value]
+ Found item [ifOperStatus='Up'] index: 4 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='Ethernet0'] index: 1 [from value]
+ Found item [ifDescr=''] index: 2 [from value]
+ Found item [ifDescr=''] index: 3 [from value]
+ Found item [ifDescr='ADSL'] index: 4 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Found item [ifName='End of MIB'] index: End of MIB [from value]
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Found item [ifAlias='End of MIB'] index: End of MIB [from value]
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='ethernetCsmacd(6)'] index: 1 [from value]
+ Found item [ifType='0'] index: 2 [from value]
+ Found item [ifType='0'] index: 3 [from value]
+ Found item [ifType='adsl(94)'] index: 4 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='100000000'] index: 1 [from value]
+ Found item [ifSpeed='0'] index: 2 [from value]
+ Found item [ifSpeed='0'] index: 3 [from value]
+ Found item [ifSpeed='576000'] index: 4 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr='30:30:2E:35:30:2E'] index: 1 [from value]
+ Found item [ifHwAddr='00:00:00:00:00:00'] index: 2 [from value]
+ Found item [ifHwAddr='00:00:00:00:00:00'] index: 3 [from value]
+ Found item [ifHwAddr='00:00:00:00:00:00'] index: 4 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/interface.xml'


But when i click "Create Graphs for this Host", the list of interfaces has a new mysterious one called "End of MIB" - now that doesn't look right - I've tried to attach the screenshot below. Is there any way I can get rid of this? I noticed the Re-Index method on the data query - would changing this help??

I tried selecting all interfaces & it did generate one chart with no data, but also finally managed to upset poller.php - debug output below.

03/28/2005 06:03:13 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/php/bin/php, ARGS: -q /var/www/cacti/cmd.php 0 4]
03/28/2005 06:03:13 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
03/28/2005 06:03:13 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /var/www/cacti
03/28/2005 06:03:13 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /var/www/cacti
03/28/2005 06:03:13 PM - PHPSVR: Poller[0] DEBUG: FILENM: /var/www/cacti/script_server.php
03/28/2005 06:03:13 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
03/28/2005 06:03:13 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
03/28/2005 06:03:13 PM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
03/28/2005 06:03:13 PM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
03/28/2005 06:03:14 PM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/cacti/scripts/linux_memory.pl MemFree:, output: 3056
03/28/2005 06:03:14 PM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/cacti/scripts/linux_memory.pl SwapFree:, output: 1052124
03/28/2005 06:03:14 PM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/cacti/scripts/loadavg_multi.pl, output: 1min:0.00 5min:0.01 10min:0.00
03/28/2005 06:03:14 PM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/cacti/scripts/unix_users.pl, output: 2
03/28/2005 06:03:14 PM - CMDPHP: Poller[0] Host[1] CMD: perl /var/www/cacti/scripts/unix_processes.pl, output: 144
03/28/2005 06:03:14 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
03/28/2005 06:03:14 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for '192.168.1.20'.
03/28/2005 06:03:14 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 192.168.1.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 399650
03/28/2005 06:03:14 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.00' [map 1min->load_1min]
03/28/2005 06:03:14 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.01' [map 5min->load_5min]
03/28/2005 06:03:14 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.00' [map 10min->load_15min]
03/28/2005 06:03:14 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1112029393:3056
03/28/2005 06:03:14 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/localhost_mem_swap_4.rrd --template mem_swap 1112029393:1052124
03/28/2005 06:03:14 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1112029393:0.00:0.01:0.00
03/28/2005 06:03:14 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/localhost_users_6.rrd --template users 1112029393:2
03/28/2005 06:03:14 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/localhost_proc_7.rrd --template proc 1112029393:144
03/28/2005 06:03:14 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 192.168.1.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 399650
03/28/2005 06:03:15 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 192.168.1.20, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.65539, output: 8673076
03/28/2005 06:03:15 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: 192.168.1.20, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.65539, output: 22402667
03/28/2005 06:03:15 PM - CMDPHP: Poller[0] Host[4] SNMP: Host responded to SNMP
03/28/2005 06:03:15 PM - CMDPHP: Poller[0] Host[4] RECACHE: Processing 1 items in the auto reindex cache for 'router01'.
03/28/2005 06:03:15 PM - CMDPHP: Poller[0] Host[4] WARNING: Result from SNMP not valid. Partial Result:
03/28/2005 06:03:15 PM - CMDPHP: Poller[0] Host[4] SNMP: v1: router01, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.End of MIB, output: U
03/28/2005 06:03:15 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool create /var/www/cacti/rra/router01_traffic_in_20.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
03/28/2005 06:03:15 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/tiree_traffic_in_17.rrd --template traffic_in:traffic_out 1112029393:22402667:8673076
03/28/2005 06:03:15 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/tiree_traffic_in_16.rrd --template traffic_in:traffic_out 1112029393:399650:399650
03/28/2005 06:03:16 PM - CMDPHP: Poller[0] Host[4] WARNING: Result from SNMP not valid. Partial Result:
03/28/2005 06:03:16 PM - CMDPHP: Poller[0] Host[4] SNMP: v1: router01, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.End of MIB, output: U
03/28/2005 06:03:16 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
03/28/2005 06:03:16 PM - CMDPHP: Poller[0] Time: 2.2398 s, Theads: N/A, Hosts: 3
03/28/2005 06:03:16 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /var/www/cacti/rra/router01_traffic_in_20.rrd --template traffic_out:traffic_in 1112029393:U:U
03/28/2005 06:03:16 PM - SYSTEM STATS: Time: 3.1951 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 4, Hosts/Process: 4
Attachments
c-err.JPG
c-err.JPG (142.02 KiB) Viewed 3211 times
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Can you post a snmpwalk of that device?

Code: Select all

snmpwalk -v 1 -c <snmp community> <host> .1.3.6.1.2.1.2.2.1
[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]
k
Posts: 18
Joined: Mon Mar 21, 2005 12:29 pm

Post by k »

No prob - I've included all the output between command and prompt (what I mean is that I've not chopped odd characters off - none came out). Visually this looks valid though???

IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifDescr.1 = STRING: Ethernet0
IF-MIB::ifDescr.2 = STRING:
IF-MIB::ifDescr.3 = STRING:
IF-MIB::ifDescr.4 = STRING: ADSL
IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.2 = INTEGER: 0
IF-MIB::ifType.3 = INTEGER: 0
IF-MIB::ifType.4 = INTEGER: adsl(94)
IF-MIB::ifMtu.1 = INTEGER: 1500
IF-MIB::ifMtu.2 = INTEGER: 0
IF-MIB::ifMtu.3 = INTEGER: 0
IF-MIB::ifMtu.4 = INTEGER: 1500
IF-MIB::ifSpeed.1 = Gauge32: 100000000
IF-MIB::ifSpeed.2 = Gauge32: 0
IF-MIB::ifSpeed.3 = Gauge32: 0
IF-MIB::ifSpeed.4 = Gauge32: 576000
IF-MIB::ifPhysAddress.1 = STRING: 30:30:2e:35:30:2e
IF-MIB::ifPhysAddress.2 = STRING: 0:0:0:0:0:0
IF-MIB::ifPhysAddress.3 = STRING: 0:0:0:0:0:0
IF-MIB::ifPhysAddress.4 = STRING: 0:0:0:0:0:0
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.2 = INTEGER: 0
IF-MIB::ifAdminStatus.3 = INTEGER: 0
IF-MIB::ifAdminStatus.4 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: 0
IF-MIB::ifOperStatus.3 = INTEGER: 0
IF-MIB::ifOperStatus.4 = INTEGER: up(1)
IF-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.2 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.3 = Timeticks: (0) 0:00:00.00
IF-MIB::ifLastChange.4 = Timeticks: (0) 0:00:00.00
IF-MIB::ifInOctets.1 = Counter32: 21337144
IF-MIB::ifInOctets.2 = Counter32: 0
IF-MIB::ifInOctets.3 = Counter32: 0
IF-MIB::ifInOctets.4 = Counter32: 38763601
IF-MIB::ifInUcastPkts.1 = Counter32: 39997
IF-MIB::ifInUcastPkts.2 = Counter32: 0
IF-MIB::ifInUcastPkts.3 = Counter32: 0
IF-MIB::ifInUcastPkts.4 = Counter32: 42665
IF-MIB::ifInNUcastPkts.1 = Counter32: 1685
IF-MIB::ifInNUcastPkts.2 = Counter32: 0
IF-MIB::ifInNUcastPkts.3 = Counter32: 0
IF-MIB::ifInNUcastPkts.4 = Counter32: 0
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInDiscards.2 = Counter32: 0
IF-MIB::ifInDiscards.3 = Counter32: 0
IF-MIB::ifInDiscards.4 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 0
IF-MIB::ifInErrors.2 = Counter32: 0
IF-MIB::ifInErrors.3 = Counter32: 0
IF-MIB::ifInErrors.4 = Counter32: 0
IF-MIB::ifInUnknownProtos.1 = Counter32: 4
IF-MIB::ifInUnknownProtos.2 = Counter32: 0
IF-MIB::ifInUnknownProtos.3 = Counter32: 0
IF-MIB::ifInUnknownProtos.4 = Counter32: 0
IF-MIB::ifOutOctets.1 = Counter32: 51650218
IF-MIB::ifOutOctets.2 = Counter32: 0
IF-MIB::ifOutOctets.3 = Counter32: 0
IF-MIB::ifOutOctets.4 = Counter32: 10376329
IF-MIB::ifOutUcastPkts.1 = Counter32: 82051
IF-MIB::ifOutUcastPkts.2 = Counter32: 0
IF-MIB::ifOutUcastPkts.3 = Counter32: 0
IF-MIB::ifOutUcastPkts.4 = Counter32: 171
IF-MIB::ifOutNUcastPkts.1 = Counter32: 1444
IF-MIB::ifOutNUcastPkts.2 = Counter32: 0
IF-MIB::ifOutNUcastPkts.3 = Counter32: 0
IF-MIB::ifOutNUcastPkts.4 = Counter32: 0
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutDiscards.2 = Counter32: 0
IF-MIB::ifOutDiscards.3 = Counter32: 0
IF-MIB::ifOutDiscards.4 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutErrors.2 = Counter32: 0
IF-MIB::ifOutErrors.3 = Counter32: 0
IF-MIB::ifOutErrors.4 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifOutQLen.2 = Gauge32: 0
IF-MIB::ifOutQLen.3 = Gauge32: 0
IF-MIB::ifOutQLen.4 = Gauge32: 256
IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.2 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.3 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.4 = OID: SNMPv2-SMI::zeroDotZero
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Um, it is fine...

Do me a favor, run it again, but with SNMPv2 and post the results.

Code: Select all

snmpwalk -v 2c -c <snmp community> <host> .1.3.6.1.2.1.2.2.1
[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]
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests