not able to add any host.
Moderators: Developers, Moderators
-
- Posts: 6
- Joined: Thu Jul 27, 2006 7:11 am
not able to add any host.
hi all,
i'm configuring cacti-0.8.6h. i'm able to add devices but when i try to enable them it says "unkown". For localhost it's all fine...still i'm not able to create any graphs for localhost.
What couls be the possible issue.
thanks in advance,
ashish verma
i'm configuring cacti-0.8.6h. i'm able to add devices but when i try to enable them it says "unkown". For localhost it's all fine...still i'm not able to create any graphs for localhost.
What couls be the possible issue.
thanks in advance,
ashish verma
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Make sure that the poller is running on a regular interval (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: 6
- Joined: Thu Jul 27, 2006 7:11 am
*/5 * * * * root php /var/www/html/cacti-0.8.6h/poller.php > /dev/null 2>&1
i have added this entry in /etc/crontab.
and the following is /var/log/cron details.
Jul 28 11:15:01 www crond[26057]: (root) CMD (php /var/www/html/cacti-0.8.6h/poller.php > /dev/null 2>&1)
Jul 28 11:20:01 www crond[26109]: (root) CMD (/usr/lib/sa/sa1 1 1) Jul 28 11:20:01 www crond[26110]: (root) CMD (php /var/www/html/cacti-0.8.6h/poller.php > /dev/null 2>&1)
Jul 28 11:25:01 www crond[26159]: (root) CMD (php /var/www/html/cacti-0.8.6h/poller.php > /dev/null 2>&1) Jul 28 11:30:01 www crond[26212]: (root) CMD (php /var/www/html/cacti-0.8.6h/poller.php > /dev/null 2>&1) Jul 28 11:30:01 www crond[26213]: (root) CMD (/usr/lib/sa/sa1 1 1)
Jul 28 11:35:01 www crond[26262]: (root) CMD (php /var/www/html/cacti-0.8.6h/poller.php > /dev/null 2>&1) Jul 28 11:40:01 www crond[26315]: (root) CMD (/usr/lib/sa/sa1 1 1)
Jul 28 11:40:01 www crond[26317]: (root) CMD (php /var/www/html/cacti-0.8.6h/poller.php > /dev/null 2>&1) Jul 28 11:45:01 www crond[26366]: (root) CMD (php /var/www/html/cacti-0.8.6h/poller.php > /dev/null 2>&1) Jul 28 11:50:01 www crond[26442]: (root) CMD (/usr/lib/sa/sa1 1 1)
i think its running however still i'm not able to do anythin.
Please advice,
ashish
i have added this entry in /etc/crontab.
and the following is /var/log/cron details.
Jul 28 11:15:01 www crond[26057]: (root) CMD (php /var/www/html/cacti-0.8.6h/poller.php > /dev/null 2>&1)
Jul 28 11:20:01 www crond[26109]: (root) CMD (/usr/lib/sa/sa1 1 1) Jul 28 11:20:01 www crond[26110]: (root) CMD (php /var/www/html/cacti-0.8.6h/poller.php > /dev/null 2>&1)
Jul 28 11:25:01 www crond[26159]: (root) CMD (php /var/www/html/cacti-0.8.6h/poller.php > /dev/null 2>&1) Jul 28 11:30:01 www crond[26212]: (root) CMD (php /var/www/html/cacti-0.8.6h/poller.php > /dev/null 2>&1) Jul 28 11:30:01 www crond[26213]: (root) CMD (/usr/lib/sa/sa1 1 1)
Jul 28 11:35:01 www crond[26262]: (root) CMD (php /var/www/html/cacti-0.8.6h/poller.php > /dev/null 2>&1) Jul 28 11:40:01 www crond[26315]: (root) CMD (/usr/lib/sa/sa1 1 1)
Jul 28 11:40:01 www crond[26317]: (root) CMD (php /var/www/html/cacti-0.8.6h/poller.php > /dev/null 2>&1) Jul 28 11:45:01 www crond[26366]: (root) CMD (php /var/www/html/cacti-0.8.6h/poller.php > /dev/null 2>&1) Jul 28 11:50:01 www crond[26442]: (root) CMD (/usr/lib/sa/sa1 1 1)
i think its running however still i'm not able to do anythin.
Please advice,
ashish
-
- Posts: 6
- Joined: Thu Jul 27, 2006 7:11 am
-
- Posts: 6
- Joined: Thu Jul 27, 2006 7:11 am
well i gave the full permissions this time and it worked. i'm posting the output.
Please let me know if i'm doing something wrong.
[root@www log]# /var/www/html/cacti-0.8.6h/poller.php
07/28/2006 11:58:46 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cacti-0.8.6h/cmd.php 0 3]
Missing object name
USAGE: snmpget [OPTIONS] AGENT OID [OID]...
Version: 5.1.2
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net
OPTIONS:
-h, --help display this help message
-H display configuration file directives understood
-v 1|2c|3 specifies SNMP version to use
-V, --version display package version number
SNMP Version 1 or 2c specific
-c COMMUNITY set the community string
SNMP Version 3 specific
-a PROTOCOL set authentication protocol (MD5|SHA)
-A PASSPHRASE set authentication protocol pass phrase
-e ENGINE-ID set security engine ID (e.g. 800000020109840301)
-E ENGINE-ID set context engine ID (e.g. 800000020109840301)
-l LEVEL set security level (noAuthNoPriv|authNoPriv|authPriv)
-n CONTEXT set context name (e.g. bridge1)
-u USER-NAME set security name (e.g. bert)
-x PROTOCOL set privacy protocol (DES|AES)
-X PASSPHRASE set privacy protocol pass phrase
-Z BOOTS,TIME set destination engine boots/time
General communication options
-r RETRIES set the number of retries
-t TIMEOUT set the request timeout (in seconds)
Debugging
-d dump input/output packets in hexadecimal
-D TOKEN[,...] turn on debugging output for the specified TOKENs
(ALL gives extremely verbose debugging output)
General options
-m MIB[:...] load given list of MIBs (ALL loads everything)
-M DIR[:...] look in given list of directories for MIBs
-P MIBOPTS Toggle various defaults controlling MIB parsing:
u: allow the use of underlines in MIB symbols
c: disallow the use of "--" to terminate comments
d: save the DESCRIPTIONs of the MIB objects
e: disable errors when MIB symbols conflict
w: enable warnings when MIB symbols conflict
W: enable detailed warnings when MIB symbols conflict R: replace MIB symbols from latest module
-O OUTOPTS Toggle various defaults controlling output display:
a: print all strings in ascii format
b: do not break OID indexes down
e: print enums numerically
E: escape quotes in string indices
f: print full OIDs on output
n: print OIDs numerically
q: quick print for easier parsing
Q: quick print with equal-signs
s: print only last symbolic element of OID
S: print MIB module-id plus last element
t: print timeticks unparsed as numeric integers
T: print human-readable text along with hex strings
u: print OIDs using UCD-style prefix suppression
U: don't print units
v: print values only (not OID = value)
x: print all strings in hex format
X: extended index format
-I INOPTS Toggle various defaults controlling input parsing:
b: do best/regex matching to find a MIB node
h: don't apply DISPLAY-HINTs
r: do not check values for range/type legality
R: do random access to OID labels
u: top-level OIDs must have '.' prefix (UCD-style)
s SUFFIX: Append all textual OIDs with SUFFIX before parsing
S PREFIX: Prepend all textual OIDs with PREFIX before parsing
-L LOGOPTS Toggle various defaults controlling logging:
e: log to standard error
o: log to standard output
f file: log to the specified file
s facility: log to syslog (via the specified facility)
(variants)
[EO] pri: log to standard error/output for level 'pri' and above
[EO] p1-p2: log to standard error/output for levels 'p1' to 'p2'
[FS] pri token: log to file/syslog for level 'pri' and above
[FS] p1-p2 token: log to file/syslog for levels 'p1' to 'p2'
-C APPOPTS Set various application specific behaviours:
f: do not fix errors and retry the request
sh: /tmp/rrdbuild/rrdtool-1.2.13: is a directory
07/28/2006 11:58:47 AM - POLLER: Poller[0] Parsed MULTI output field '1min:0.24' [map 1min->load_1min]
07/28/2006 11:58:47 AM - POLLER: Poller[0] Parsed MULTI output field '5min:0.13' [map 5min->load_5min]
07/28/2006 11:58:47 AM - POLLER: Poller[0] Parsed MULTI output field '10min:0.05' [map 10min->load_15min]
07/28/2006 11:58:47 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_mem_buffers_3.rrd --step 300 DS:mem_buffers:GAUGE:600:0:U 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
07/28/2006 11:58:47 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_mem_buffers_3.rrd --template mem_buffers N:22452
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_mem_swap_4.rrd --step 300 DS:mem_swap:GAUGE:600:0:U 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_mem_swap_4.rrd --template mem_swap N:2048108
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_load_1min_5.rrd --step 300 DS:load_1min:GAUGE:600:0:500 DS:load_5min:GAUGE:600:0:500 DS:load_15min:GAUGE:600:0:500 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min N:0.24:0.13:0.05
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_users_6.rrd --step 300 DS:users:GAUGE:600:0:500 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_users_6.rrd --template users N:4
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_proc_7.rrd --step 300 DS:proc:GAUGE:600:0:1000 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_proc_7.rrd --template proc N:107
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_mem_buffers_8.rrd --step 300 DS:mem_buffers:GAUGE:600:0:U 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_mem_buffers_8.rrd --template mem_buffers N:22452
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_mem_swap_9.rrd --step 300 DS:mem_swap:GAUGE:600:0:U 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_mem_swap_9.rrd --template mem_swap N:2048108
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_hdd_free_10.rrd --step 300 DS:hdd_free:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_hdd_free_10.rrd --template hdd_free:hdd_used N:87355:8512
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_hdd_free_11.rrd --step 300 DS:hdd_free:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_hdd_free_11.rrd --template hdd_free:hdd_used N:13849240:2503308
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/rmc_snmp_oid_12.rrd --step 300 DS:snmp_oid:GAUGE:600:0:100 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/rmc_snmp_oid_12.rrd --template snmp_oid N:U
07/28/2006 11:58:48 AM - SYSTEM STATS: Time:1.5802 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:12 RRDsProcessed:10
[root@www log]# date
Fri Jul 28 12:01:09 IST 2006
[root@www log]#
Thanks
Ashish
Please let me know if i'm doing something wrong.
[root@www log]# /var/www/html/cacti-0.8.6h/poller.php
07/28/2006 11:58:46 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cacti-0.8.6h/cmd.php 0 3]
Missing object name
USAGE: snmpget [OPTIONS] AGENT OID [OID]...
Version: 5.1.2
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net
OPTIONS:
-h, --help display this help message
-H display configuration file directives understood
-v 1|2c|3 specifies SNMP version to use
-V, --version display package version number
SNMP Version 1 or 2c specific
-c COMMUNITY set the community string
SNMP Version 3 specific
-a PROTOCOL set authentication protocol (MD5|SHA)
-A PASSPHRASE set authentication protocol pass phrase
-e ENGINE-ID set security engine ID (e.g. 800000020109840301)
-E ENGINE-ID set context engine ID (e.g. 800000020109840301)
-l LEVEL set security level (noAuthNoPriv|authNoPriv|authPriv)
-n CONTEXT set context name (e.g. bridge1)
-u USER-NAME set security name (e.g. bert)
-x PROTOCOL set privacy protocol (DES|AES)
-X PASSPHRASE set privacy protocol pass phrase
-Z BOOTS,TIME set destination engine boots/time
General communication options
-r RETRIES set the number of retries
-t TIMEOUT set the request timeout (in seconds)
Debugging
-d dump input/output packets in hexadecimal
-D TOKEN[,...] turn on debugging output for the specified TOKENs
(ALL gives extremely verbose debugging output)
General options
-m MIB[:...] load given list of MIBs (ALL loads everything)
-M DIR[:...] look in given list of directories for MIBs
-P MIBOPTS Toggle various defaults controlling MIB parsing:
u: allow the use of underlines in MIB symbols
c: disallow the use of "--" to terminate comments
d: save the DESCRIPTIONs of the MIB objects
e: disable errors when MIB symbols conflict
w: enable warnings when MIB symbols conflict
W: enable detailed warnings when MIB symbols conflict R: replace MIB symbols from latest module
-O OUTOPTS Toggle various defaults controlling output display:
a: print all strings in ascii format
b: do not break OID indexes down
e: print enums numerically
E: escape quotes in string indices
f: print full OIDs on output
n: print OIDs numerically
q: quick print for easier parsing
Q: quick print with equal-signs
s: print only last symbolic element of OID
S: print MIB module-id plus last element
t: print timeticks unparsed as numeric integers
T: print human-readable text along with hex strings
u: print OIDs using UCD-style prefix suppression
U: don't print units
v: print values only (not OID = value)
x: print all strings in hex format
X: extended index format
-I INOPTS Toggle various defaults controlling input parsing:
b: do best/regex matching to find a MIB node
h: don't apply DISPLAY-HINTs
r: do not check values for range/type legality
R: do random access to OID labels
u: top-level OIDs must have '.' prefix (UCD-style)
s SUFFIX: Append all textual OIDs with SUFFIX before parsing
S PREFIX: Prepend all textual OIDs with PREFIX before parsing
-L LOGOPTS Toggle various defaults controlling logging:
e: log to standard error
o: log to standard output
f file: log to the specified file
s facility: log to syslog (via the specified facility)
(variants)
[EO] pri: log to standard error/output for level 'pri' and above
[EO] p1-p2: log to standard error/output for levels 'p1' to 'p2'
[FS] pri token: log to file/syslog for level 'pri' and above
[FS] p1-p2 token: log to file/syslog for levels 'p1' to 'p2'
-C APPOPTS Set various application specific behaviours:
f: do not fix errors and retry the request
sh: /tmp/rrdbuild/rrdtool-1.2.13: is a directory
07/28/2006 11:58:47 AM - POLLER: Poller[0] Parsed MULTI output field '1min:0.24' [map 1min->load_1min]
07/28/2006 11:58:47 AM - POLLER: Poller[0] Parsed MULTI output field '5min:0.13' [map 5min->load_5min]
07/28/2006 11:58:47 AM - POLLER: Poller[0] Parsed MULTI output field '10min:0.05' [map 10min->load_15min]
07/28/2006 11:58:47 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_mem_buffers_3.rrd --step 300 DS:mem_buffers:GAUGE:600:0:U 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
07/28/2006 11:58:47 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_mem_buffers_3.rrd --template mem_buffers N:22452
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_mem_swap_4.rrd --step 300 DS:mem_swap:GAUGE:600:0:U 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_mem_swap_4.rrd --template mem_swap N:2048108
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_load_1min_5.rrd --step 300 DS:load_1min:GAUGE:600:0:500 DS:load_5min:GAUGE:600:0:500 DS:load_15min:GAUGE:600:0:500 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min N:0.24:0.13:0.05
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_users_6.rrd --step 300 DS:users:GAUGE:600:0:500 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_users_6.rrd --template users N:4
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_proc_7.rrd --step 300 DS:proc:GAUGE:600:0:1000 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_proc_7.rrd --template proc N:107
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_mem_buffers_8.rrd --step 300 DS:mem_buffers:GAUGE:600:0:U 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_mem_buffers_8.rrd --template mem_buffers N:22452
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_mem_swap_9.rrd --step 300 DS:mem_swap:GAUGE:600:0:U 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_mem_swap_9.rrd --template mem_swap N:2048108
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_hdd_free_10.rrd --step 300 DS:hdd_free:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_hdd_free_10.rrd --template hdd_free:hdd_used N:87355:8512
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/localhost_hdd_free_11.rrd --step 300 DS:hdd_free:GAUGE:600:0:U DS:hdd_used:GAUGE:600:0:U 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/localhost_hdd_free_11.rrd --template hdd_free:hdd_used N:13849240:2503308
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 create /var/www/html/cacti-0.8.6h/rra/rmc_snmp_oid_12.rrd --step 300 DS:snmp_oid:GAUGE:600:0:100 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
07/28/2006 11:58:48 AM - POLLER: Poller[0] CACTI2RRD: /tmp/rrdbuild/rrdtool-1.2.13 update /var/www/html/cacti-0.8.6h/rra/rmc_snmp_oid_12.rrd --template snmp_oid N:U
07/28/2006 11:58:48 AM - SYSTEM STATS: Time:1.5802 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:12 RRDsProcessed:10
[root@www log]# date
Fri Jul 28 12:01:09 IST 2006
[root@www log]#
Thanks
Ashish
-
- Posts: 6
- Joined: Thu Jul 27, 2006 7:11 am
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hiashish.scit wrote:[root@www log]# /var/www/html/cacti-0.8.6h/poller.php
07/28/2006 11:58:46 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cacti-0.8.6h/cmd.php 0 3]
Missing object name
USAGE: snmpget [OPTIONS] AGENT OID [OID]...
Version: 5.1.2
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net
OPTIONS:
[...]
this shows that you miss the php-snmp module (click on the cactus to check). It's not mandatory, but I think it's more efficient than forking snmpget/snmpwalk/etc.
[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]
[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]
-
- Posts: 6
- Joined: Thu Jul 27, 2006 7:11 am
hi,
i installed the tarball named phpSNMP-v0.7b.tar.gz and configured..but i have some doubts here.
[root@www phpSNMP-v0.7b]# ls
CHANGES customers.inc.php3 index.php3 mysql.inc.php3 README sql.php3
COPYING data instruct.php3 ports.inc.php3 snmp.jpg update
this output shows mysql.inc.php3, customers.inc.php3, ports.inc.php3.
when i read the README it asks to make some changed in these files but i'm not sure what does it mean.can you please let me know this.
thanks,
ashish
i installed the tarball named phpSNMP-v0.7b.tar.gz and configured..but i have some doubts here.
[root@www phpSNMP-v0.7b]# ls
CHANGES customers.inc.php3 index.php3 mysql.inc.php3 README sql.php3
COPYING data instruct.php3 ports.inc.php3 snmp.jpg update
this output shows mysql.inc.php3, customers.inc.php3, ports.inc.php3.
when i read the README it asks to make some changed in these files but i'm not sure what does it mean.can you please let me know this.
thanks,
ashish
Who is online
Users browsing this forum: No registered users and 0 guests