Hi,
I'm a new user of cacti and I like to know why some of my graphs are empty. I can view Load Average and Logged in Users but Memory Usage, CPU Usage, Ping Latency and Processes are empty. I'm on solaris 9 with cacti 0.8.6b.
What I have is :
Your "cron" job on ss
/usr/local/bin/php /var/apache/htdocs/cacti/poller.php
produced the following output:
No log handling enabled - turning on stderr logging
/usr/local/etc/snmp/snmp.conf: line 61: Warning: Unknown token: com2sec.
/usr/local/etc/snmp/snmp.conf: line 62: Warning: Unknown token: com2sec.
/usr/local/etc/snmp/snmp.conf: line 68: Warning: Unknown token: group.
/usr/local/etc/snmp/snmp.conf: line 69: Warning: Unknown token: group.
/usr/local/etc/snmp/snmp.conf: line 70: Warning: Unknown token: group.
/usr/local/etc/snmp/snmp.conf: line 71: Warning: Unknown token: group.
/usr/local/etc/snmp/snmp.conf: line 72: Warning: Unknown token: group.
/usr/local/etc/snmp/snmp.conf: line 73: Warning: Unknown token: group.
/usr/local/etc/snmp/snmp.conf: line 79: Warning: Unknown token: view.
/usr/local/etc/snmp/snmp.conf: line 86: Warning: Unknown token: access.
/usr/local/etc/snmp/snmp.conf: line 87: Warning: Unknown token: access.
/usr/local/etc/snmp/snmp.conf: line 103: Warning: Unknown token: syslocation.
/usr/local/etc/snmp/snmp.conf: line 104: Warning: Unknown token: syscontact.
/usr/local/etc/snmp/snmp.conf: line 138: Warning: Unknown token: proc.
/usr/local/etc/snmp/snmp.conf: line 141: Warning: Unknown token: proc.
/usr/local/etc/snmp/snmp.conf: line 144: Warning: Unknown token: proc.
/usr/local/etc/snmp/snmp.conf: line 202: Warning: Unknown token: exec.
/usr/local/etc/snmp/snmp.conf: line 253: Warning: Unknown token: disk.
/usr/local/etc/snmp/snmp.conf: line 282: Warning: Unknown token: load.
No log handling enabled - turning on stderr logging
/usr/local/etc/snmp/snmp.conf: line 61: Warning: Unknown token: com2sec.
/usr/local/etc/snmp/snmp.conf: line 62: Warning: Unknown token: com2sec.
/usr/local/etc/snmp/snmp.conf: line 68: Warning: Unknown token: group.
/usr/local/etc/snmp/snmp.conf: line 69: Warning: Unknown token: group.
/usr/local/etc/snmp/snmp.conf: line 70: Warning: Unknown token: group.
/usr/local/etc/snmp/snmp.conf: line 71: Warning: Unknown token: group.
/usr/local/etc/snmp/snmp.conf: line 72: Warning: Unknown token: group.
/usr/local/etc/snmp/snmp.conf: line 73: Warning: Unknown token: group.
/usr/local/etc/snmp/snmp.conf: line 79: Warning: Unknown token: view.
/usr/local/etc/snmp/snmp.conf: line 86: Warning: Unknown token: access.
/usr/local/etc/snmp/snmp.conf: line 87: Warning: Unknown token: access.
/usr/local/etc/snmp/snmp.conf: line 103: Warning: Unknown token: syslocation.
/usr/local/etc/snmp/snmp.conf: line 104: Warning: Unknown token: syscontact.
/usr/local/etc/snmp/snmp.conf: line 138: Warning: Unknown token: proc.
/usr/local/etc/snmp/snmp.conf: line 141: Warning: Unknown token: proc.
/usr/local/etc/snmp/snmp.conf: line 144: Warning: Unknown token: proc.
/usr/local/etc/snmp/snmp.conf: line 202: Warning: Unknown token: exec.
/usr/local/etc/snmp/snmp.conf: line 253: Warning: Unknown token: disk.
/usr/local/etc/snmp/snmp.conf: line 282: Warning: Unknown token: load.
OK u:0.01 s:0.00 r:1.01
OK u:0.01 s:0.01 r:1.01
usage: ps [ -aAdeflcjLPy ] [ -o format ] [ -t termlist ]
[ -u userlist ] [ -U userlist ] [ -G grouplist ]
[ -p proclist ] [ -g pgrplist ] [ -s sidlist ]
'format' is one or more of:
user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid
pri opri pcpu pmem vsz rss osz nice class time etime stime
f s c lwp nlwp psr tty addr wchan fname comm args projid project pset
cat: cannot open /proc/meminfo
cat: cannot open /proc/meminfo
OK u:0.01 s:0.01 r:2.03
OK u:0.01 s:0.01 r:2.03
OK u:0.01 s:0.01 r:2.03
OK u:0.01 s:0.01 r:2.03
OK u:0.01 s:0.01 r:2.03
OK u:0.01 s:0.01 r:2.03
OK u:0.01 s:0.01 r:2.03
OK u:0.01 s:0.01 r:2.03
12/08/2004 04:30:03 PM - SYSTEM STATS: Time: 2.1931 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
I tried to run some scripts :
/var/apache/htdocs/cacti/scripts$ perl unix_processes.pl
syntaxe : ps [ -aAdeflcjLPy ] [ -o format ] [ -t liste_termes ]
[ -u liste_util ] [ -U liste_util ] [ -G liste_groupes ]
[ -p liste_proc ] [ -g pgrplist ] [ -s sidlist ]
'format' représente un ou plusieurs :
user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid
pri opri pcpu pmem vsz rss osz nice class time etime stime
f s c lwp nlwp psr tty addr wchan fname comm args projid project pset
Why some graphs are empty ?
Moderators: Developers, Moderators
Why some graphs are empty ?
Thanks
KaYa
KaYa
some unix scripts don't work on Solaris
Hi,
are you using the "Linux Local Machine" template?
There are several unix scripts that don't work on Solaris:
- linux_memory.pl
- ping.pl
- unix_processes.pl
I'm developing new scripts for Solaris. As soon as I finish a first version I will post it.
Regards,
zanaguara
are you using the "Linux Local Machine" template?
There are several unix scripts that don't work on Solaris:
- linux_memory.pl
- ping.pl
- unix_processes.pl
I'm developing new scripts for Solaris. As soon as I finish a first version I will post it.
Regards,
zanaguara
Who is online
Users browsing this forum: No registered users and 4 guests