SNMP Error for Win2k3 device

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

Moderators: Developers, Moderators

x2c
Posts: 15
Joined: Wed Jul 19, 2006 7:35 pm

Post by x2c »

TheWitness wrote:x2c,

See now that was not too hard. A picture is worth 1 thousand words.

1) Check your poller log, are you updating RRD files
2) If so, run "<path_rrdtool>/rrdtool" from the command line, record the version.
3) Goto Settings->General and verify that the correct RRDtool version is selected.
4) Verify that the Settings->Paths include not just the path, but also the fille names to the excutables as well.
5) Makes sure your font file is correct.

TheWitness
thanks the witness
in regards to step one i think this is the correct log ?

Data Source: Localhost - Memory - Free
RRD: /var/www/html/cacti/rra/localhost_mem_buffers_3.rrd
Action: 1, Script: perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:
Data Source: Localhost - Memory - Free Swap
RRD: /var/www/html/cacti/rra/localhost_mem_swap_4.rrd
Action: 1, Script: perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:
Data Source: Localhost - Load Average
RRD: /var/www/html/cacti/rra/localhost_load_1min_5.rrd
Action: 1, Script: perl /var/www/html/cacti/scripts/loadavg_multi.pl
Data Source: Localhost - Logged in Users
RRD: /var/www/html/cacti/rra/localhost_users_6.rrd
Action: 1, Script: perl /var/www/html/cacti/scripts/unix_users.pl
Data Source: Localhost - Processes
RRD: /var/www/html/cacti/rra/localhost_proc_7.rrd
Action: 1, Script: perl /var/www/html/cacti/scripts/unix_processes.pl
Data Source: Reportnet - Traffic - 192.168.4.104/3Com 3C90x Ethe
RRD: /var/www/html/cacti/rra/reportnet_traffic_in_45.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.2 (Host: 192.168.4.104, Community: public)
Data Source: Reportnet - Traffic - 192.168.4.104/3Com 3C90x Ethe
RRD: /var/www/html/cacti/rra/reportnet_traffic_in_45.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.2 (Host: 192.168.4.104, Community: public)
Data Source: Reportnet - Traffic - 127.0.0.1/MS TCP Loopback
RRD: /var/www/html/cacti/rra/reportnet_traffic_in_44.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.1 (Host: 192.168.4.104, Community: public)
Data Source: Reportnet - Traffic - 127.0.0.1/MS TCP Loopback
RRD: /var/www/html/cacti/rra/reportnet_traffic_in_44.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.1 (Host: 192.168.4.104, Community: public)
Data Source: Reportnet - CPU Utilization - CPU0
RRD: /var/www/html/cacti/rra/reportnet_cpu_43.rrd
Action: 2, Script: /var/www/html/cacti/scripts/ss_host_cpu.php ss_host_cpu 192.168.4.104 9 1:161:500:public:Administrator:iceman:MD5::[None] get usage 0
Data Source: Reportnet - Used Space - Virtual Memory
RRD: /var/www/html/cacti/rra/reportnet_hdd_total_42.rrd
Action: 2, Script: /var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.4.104 9 1:161:500:public:Administrator:iceman:MD5::[None] get total 5
Data Source: Reportnet - Used Space - Virtual Memory
RRD: /var/www/html/cacti/rra/reportnet_hdd_total_42.rrd
Action: 2, Script: /var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.4.104 9 1:161:500:public:Administrator:iceman:MD5::[None] get used 5
Data Source: Reportnet - Used Space - E:
RRD: /var/www/html/cacti/rra/reportnet_hdd_total_41.rrd
Action: 2, Script: /var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.4.104 9 1:161:500:public:Administrator:iceman:MD5::[None] get total 4
Data Source: Reportnet - Used Space - E:
RRD: /var/www/html/cacti/rra/reportnet_hdd_total_41.rrd
Action: 2, Script: /var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.4.104 9 1:161:500:public:Administrator:iceman:MD5::[None] get used 4
Data Source: Reportnet - Used Space - D: Label: Seri
RRD: /var/www/html/cacti/rra/reportnet_hdd_total_40.rrd
Action: 2, Script: /var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.4.104 9 1:161:500:public:Administrator:iceman:MD5::[None] get total 3
Data Source: Reportnet - Used Space - D: Label: Seri
RRD: /var/www/html/cacti/rra/reportnet_hdd_total_40.rrd
Action: 2, Script: /var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.4.104 9 1:161:500:public:Administrator:iceman:MD5::[None] get used 3
Data Source: Reportnet - Used Space - C: Label: Seri
RRD: /var/www/html/cacti/rra/reportnet_hdd_total_39.rrd
Action: 2, Script: /var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.4.104 9 1:161:500:public:Administrator:iceman:MD5::[None] get total 2
Data Source: Reportnet - Used Space - C: Label: Seri
RRD: /var/www/html/cacti/rra/reportnet_hdd_total_39.rrd
Action: 2, Script: /var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.4.104 9 1:161:500:public:Administrator:iceman:MD5::[None] get used 2
Data Source: Reportnet - Used Space - A:
RRD: /var/www/html/cacti/rra/reportnet_hdd_total_38.rrd
Action: 2, Script: /var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.4.104 9 1:161:500:public:Administrator:iceman:MD5::[None] get total 1
Data Source: Reportnet - Used Space - A:
RRD: /var/www/html/cacti/rra/reportnet_hdd_total_38.rrd
Action: 2, Script: /var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk 192.168.4.104 9 1:161:500:public:Administrator:iceman:MD5::[None] get used 1
Data Source: Reportnet - Processes
RRD: /var/www/html/cacti/rra/reportnet_proc_37.rrd
Action: 0, OID: .1.3.6.1.2.1.25.1.6.0 (Host: 192.168.4.104, Community: public)
Data Source: Reportnet - Logged in Users
RRD: /var/www/html/cacti/rra/reportnet_users_36.rrd
Action: 0, OID: .1.3.6.1.2.1.25.1.5.0 (Host: 192.168.4.104, Community: public)
Data Source: Localhost - Free Space - /dev/hda1
RRD: /var/www/html/cacti/rra/localhost_hdd_free_34.rrd
Action: 1, Script: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/hda1
Data Source: Localhost - Free Space - /dev/hda1
RRD: /var/www/html/cacti/rra/localhost_hdd_free_34.rrd
Action: 1, Script: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/hda1
Data Source: Localhost - Free Space - /dev/mapper/Vol
RRD: /var/www/html/cacti/rra/localhost_hdd_free_35.rrd
Action: 1, Script: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get available /dev/mapper/VolGroup00-LogVol00
Data Source: Localhost - Free Space - /dev/mapper/Vol
RRD: /var/www/html/cacti/rra/localhost_hdd_free_35.rrd
Action: 1, Script: perl /var/www/html/cacti/scripts/query_unix_partitions.pl get used /dev/mapper/VolGroup00-LogVol00
Data Source: MailServer - Traffic - 192.168.2.161/Intel(R) PRO/10
RRD: /var/www/html/cacti/rra/mailserver_traffic_in_33.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.65539 (Host: 192.168.2.159, Community: public)
Data Source: MailServer - Traffic - 192.168.2.161/Intel(R) PRO/10
RRD: /var/www/html/cacti/rra/mailserver_traffic_in_33.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.65539 (Host: 192.168.2.159, Community: public)
Data Source: MailServer - Traffic - 127.0.0.1/MS TCP Loopback
RRD: /var/www/html/cacti/rra/mailserver_traffic_in_32.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.1 (Host: 192.168.2.159, Community: public)
Data Source: MailServer - Traffic - 127.0.0.1/MS TCP Loopback
RRD: /var/www/html/cacti/rra/mailserver_traffic_in_32.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.1 (Host: 192.168.2.159, Community: public)

2. i double check that i am using the correct rrdtool settings in settings they are correct.

is there anything else you can see thats wrong ?

thanks x
Attachments
settings.JPG
settings.JPG (112.92 KiB) Viewed 1301 times
settings2.JPG
settings2.JPG (144.36 KiB) Viewed 1301 times
User avatar
anakemak
Posts: 10
Joined: Thu Jul 13, 2006 2:33 pm
Location: Malaysia
Contact:

Post by anakemak »

but it's still weird that i see a white blank page when openning cacti login page....any other solution....please....
.:: Anak Emak ::.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

1) That is the poller cache and not the log. You find the log under "Utilities -> View Cacti Log". Please post it.

2) Have you run either "php poller.php or php <path_cacti>/cmd.php"? If not, do so with logging set to MEDIUM and post results.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
x2c
Posts: 15
Joined: Wed Jul 19, 2006 7:35 pm

Post by x2c »

TheWitness wrote:1) That is the poller cache and not the log. You find the log under "Utilities -> View Cacti Log". Please post it.

2) Have you run either "php poller.php or php <path_cacti>/cmd.php"? If not, do so with logging set to MEDIUM and post results.

TheWitness
Hi witness sorry for the late reply.

here is the log file u requested.
07/24/2006 09:07:43 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
07/24/2006 09:07:34 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
07/24/2006 09:07:34 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
07/24/2006 09:07:34 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
07/24/2006 09:07:34 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
07/24/2006 09:07:34 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
07/24/2006 09:07:31 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
07/24/2006 09:07:31 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
07/24/2006 09:07:31 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
07/24/2006 09:07:31 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
07/24/2006 09:07:31 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='remove_verification'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='remove_verification'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='other_header'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='other_header'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_retries'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_retries'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_port'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_port'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_timeout'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_timeout'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_password'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_password'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_username'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_username'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_community'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_community'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_ver'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_ver'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_header'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_header'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='rrdtool_version'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='rrdtool_version'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_version'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_version'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='versions_header'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='versions_header'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_perror'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_perror'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_pwarn'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_pwarn'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_pstats'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_pstats'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_verbosity'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_verbosity'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='poller_header'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='poller_header'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_export'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_export'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_graph'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_graph'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_snmp'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_snmp'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_destination'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_destination'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='logging_header'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='logging_header'"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=1"
07/24/2006 09:07:26 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=1"
07/24/2006 09:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='1' and user_auth_realm.realm_id='15'"
07/24/2006 09:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
07/24/2006 09:07:25 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"


in step 2, how do i do that sorry i am very new to linux and cacti.
x
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I think if your RTM you should be Ok.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
x2c
Posts: 15
Joined: Wed Jul 19, 2006 7:35 pm

Post by x2c »

TheWitness wrote:I think if your RTM you should be Ok.

TheWitness
sorry thewitness my rtm ?

i have problem now a big one i had to rebuild the machine.
due some little mistake i did that i could not fix.
i will let u know how i go this time around
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests