Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Windows 2000 / 2k3 Disk Statistics
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
msv_magnusm



Joined: 25 Sep 2007
Posts: 3

PostPosted: Wed Aug 06, 2008 7:59 am    Post subject: Reply with quote

Hi, I have a problem and hope to find some help here.

I copied the snmp_informant_disk.xml to the right directory and imported the templates as the instructions says. By the way, very well and detailed written instructions, just as others have said. Created the graphs through "Create Graphs for this Host" where I saw that I had data returning from the snmp queries (Success [3 Items, 3 Rows]).

Everything looks fine, except that I don't get any graphs, the images don't even get created.

My Cacti version is 0.8.6j.

I have tried to monitor two different operating systems, none of them working:
Windows Server 2003 Enterprise x64, installed the informant-snmp standard. Didn't do anything else, but snmpwalk looks fine.
Windows XP Pro, didn't work at first, so I tried diskperf -y and a reboot. Didn't work after that either. So I somehow think it's cacti/template-related, maybe snmp.

Since I am using RHEL I am "stuck" with their net-snmp, it's version 5.3.1-24.el5_2.1.
EDIT:I tried with net-snmp-5.4.1.2 anyway, since cacti could easy be reconfigured to use specific binaries. No success. :(

This is what I get in my log regarding the XP host (the other looks the same)
Code:

08/06/2008 02:45:30 PM - CACTID: Poller[0] Host[38] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.9600.1.1.1.1.16..1.3.6.1.4.1.9600.1.1.1.1.1.6.95.84.111.116.97.108)
08/06/2008 02:45:30 PM - CACTID: Poller[0] Host[38] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.9600.1.1.1.1.19..1.3.6.1.4.1.9600.1.1.1.1.1.6.95.84.111.116.97.108)
08/06/2008 02:45:31 PM - CACTID: Poller[0] Host[38] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.9600.1.1.1.1.2..1.3.6.1.4.1.9600.1.1.1.1.1.6.95.84.111.116.97.108)
08/06/2008 02:45:31 PM - CACTID: Poller[0] Host[38] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.9600.1.1.1.1.20..1.3.6.1.4.1.9600.1.1.1.1.1.6.95.84.111.116.97.108)
08/06/2008 02:45:31 PM - CACTID: Poller[0] Host[38] DS[843] WARNING: Result from SNMP not valid. Partial Result: ...
08/06/2008 02:45:31 PM - CACTID: Poller[0] Host[38] DS[843] WARNING: Result from SNMP not valid. Partial Result: ...
08/06/2008 02:45:31 PM - CACTID: Poller[0] Host[38] DS[843] WARNING: Result from SNMP not valid. Partial Result: ...
08/06/2008 02:45:31 PM - CACTID: Poller[0] Host[38] DS[843] WARNING: Result from SNMP not valid. Partial Result: ...
08/06/2008 02:45:32 PM - CACTID: Poller[0] Host[38] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.9600.1.1.1.1.4..1.3.6.1.4.1.9600.1.1.1.1.1.6.95.84.111.116.97.108)
08/06/2008 02:45:32 PM - CACTID: Poller[0] Host[38] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.9600.1.1.1.1.5..1.3.6.1.4.1.9600.1.1.1.1.1.6.95.84.111.116.97.108)
08/06/2008 02:45:32 PM - CACTID: Poller[0] Host[38] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.9600.1.1.1.1.8..1.3.6.1.4.1.9600.1.1.1.1.1.6.95.84.111.116.97.108)
08/06/2008 02:45:32 PM - CACTID: Poller[0] Host[38] DS[843] WARNING: Result from SNMP not valid. Partial Result: ...
08/06/2008 02:45:32 PM - CACTID: Poller[0] Host[38] DS[843] WARNING: Result from SNMP not valid. Partial Result: ...
08/06/2008 02:45:32 PM - CACTID: Poller[0] Host[38] DS[843] WARNING: Result from SNMP not valid. Partial Result: ...
08/06/2008 02:45:32 PM - CACTID: Poller[0] Host[38] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.9600.1.1.1.1.9..1.3.6.1.4.1.9600.1.1.1.1.1.6.95.84.111.116.97.108)
08/06/2008 02:45:32 PM - CACTID: Poller[0] Host[38] DS[843] WARNING: Result from SNMP not valid. Partial Result: ...
08/06/2008 02:50:35 PM - CACTID: Poller[0] Host[38] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.9600.1.1.1.1.16..1.3.6.1.4.1.9600.1.1.1.1.1.6.95.84.111.116.97.108)
08/06/2008 02:50:35 PM - CACTID: Poller[0] Host[38] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.9600.1.1.1.1.19..1.3.6.1.4.1.9600.1.1.1.1.1.6.95.84.111.116.97.108)
08/06/2008 02:50:35 PM - CACTID: Poller[0] Host[38] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.9600.1.1.1.1.2..1.3.6.1.4.1.9600.1.1.1.1.1.6.95.84.111.116.97.108)


08/06/2008 02:50:36 PM - CACTID: Poller[0] Host[38] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.9600.1.1.1.1.20..1.3.6.1.4.1.9600.1.1.1.1.1.6.95.84.111.116.97.108)
08/06/2008 02:50:36 PM - CACTID: Poller[0] Host[38] DS[843] WARNING: Result from SNMP not valid. Partial Result: ...
08/06/2008 02:50:36 PM - CACTID: Poller[0] Host[38] DS[843] WARNING: Result from SNMP not valid. Partial Result: ...
08/06/2008 02:50:36 PM - CACTID: Poller[0] Host[38] DS[843] WARNING: Result from SNMP not valid. Partial Result: ...
08/06/2008 02:50:36 PM - CACTID: Poller[0] Host[38] DS[843] WARNING: Result from SNMP not valid. Partial Result: ...
08/06/2008 02:50:36 PM - CACTID: Poller[0] Host[38] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.9600.1.1.1.1.4..1.3.6.1.4.1.9600.1.1.1.1.1.6.95.84.111.116.97.108)
08/06/2008 02:50:36 PM - CACTID: Poller[0] Host[38] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.9600.1.1.1.1.5..1.3.6.1.4.1.9600.1.1.1.1.1.6.95.84.111.116.97.108)
08/06/2008 02:50:36 PM - CACTID: Poller[0] Host[38] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.9600.1.1.1.1.8..1.3.6.1.4.1.9600.1.1.1.1.1.6.95.84.111.116.97.108)
08/06/2008 02:50:37 PM - CACTID: Poller[0] Host[38] DS[843] WARNING: Result from SNMP not valid. Partial Result: ...
08/06/2008 02:50:37 PM - CACTID: Poller[0] Host[38] DS[843] WARNING: Result from SNMP not valid. Partial Result: ...
08/06/2008 02:50:37 PM - CACTID: Poller[0] Host[38] DS[843] WARNING: Result from SNMP not valid. Partial Result: ...
08/06/2008 02:50:37 PM - CACTID: Poller[0] Host[38] ERROR: Problems parsing Multi SNMP OID! (oid: .1.3.6.1.4.1.9600.1.1.1.1.9..1.3.6.1.4.1.9600.1.1.1.1.1.6.95.84.111.116.97.108)
08/06/2008 02:50:37 PM - CACTID: Poller[0] Host[38] DS[843] WARNING: Result from SNMP not valid. Partial Result: ...


I guess the ERROR: Problems parsing Multi SNMP OID! and the two concated OIDS are my problems. I am not that very familiar with snmp and it might be something I don't know. But can you really concat two OIDs like that and use it?

Anyone have any tip for me?

Most thankful for all help.

EDIT:
I have also tried to upgrade to spine-0.8.7a and cacti-0.8.7b, no change.
EDIT2:
Problem "solved", seems like the templates don't go well with rrdtool 1.2 or something. I removed the Free space LINE and added colors to the other Lines that didn't have. The clue was: "ERROR: Legend set but no color: Write /s".

Sorry for disturbing. I will just break down the graph and build it up again more as I want it.
Back to top
4inlove



Joined: 03 Sep 2008
Posts: 1

PostPosted: Wed Sep 03, 2008 4:33 am    Post subject: no graph display Reply with quote

Hi Phobos,
I follow your steps, and it seemed successful.
but no graph come out. Please see the attached and give me some ideas.



2.jpg
 Description:
 Filesize:  155.4 KB
 Viewed:  991 Time(s)

2.jpg



1.jpg
 Description:
 Filesize:  194.1 KB
 Viewed:  991 Time(s)

1.jpg


Back to top
s16pt



Joined: 12 Sep 2005
Posts: 17

PostPosted: Fri Sep 26, 2008 3:46 am    Post subject: Reply with quote

I've successfully import the xml file without error.And also copy snmp_informan.xml in relavent path.
But it doesn't appear anything in the graphic tree.

Have somebody ever solve this kind of problem ?
Need your help.



2.jpg
 Description:
 Filesize:  25.81 KB
 Viewed:  825 Time(s)

2.jpg



1.jpg
 Description:
 Filesize:  14.88 KB
 Viewed:  825 Time(s)

1.jpg


Back to top
kjohnsoncda



Joined: 01 Oct 2008
Posts: 2

PostPosted: Fri Oct 03, 2008 10:52 am    Post subject: Reply with quote

Darwins Post on Page 7 and his included xml files worked for me on Cacti 8.7b

Only thing I did different was using the custom RRA settings when importing the templates.

This was all after 3 days of messing around with the original poster's XML files and not getting any results.

Mods may want to think about locking this thead or at least modifying the original posters files.
Back to top
bodazyphir



Joined: 16 May 2008
Posts: 6

PostPosted: Tue Oct 07, 2008 10:10 am    Post subject: Fixed it all Reply with quote

Hi All,

I have fixed all the problems in this thread ....

Fixed up several issues with the XML output tages in the data query. Seprated the graphs out so they all contain data that is relevant to the x/y axis.

Install these as per :

- Import Graph templates and Data template via the gui
- Save the Data Query in the <cactihome>resource/snmp_queries/ directory.

Happy hunting ,
Bodazyphir



cacti_graph_template_w32_-_disk_statistics_percentages.xml
 Description:
Import this via the GUI -Import Graph Templates

Download
 Filename:  cacti_graph_template_w32_-_disk_statistics_percentages.xml
 Filesize:  23.55 KB
 Downloaded:  185 Time(s)


cacti_graph_template_w32_-_disk_statistics_per_seconds.xml
 Description:
Import this via the GUI -Import Graph Templates

Download
 Filename:  cacti_graph_template_w32_-_disk_statistics_per_seconds.xml
 Filesize:  20.8 KB
 Downloaded:  146 Time(s)


cacti_graph_template_w32_-_disk_statistics_averages.xml
 Description:
Import this via the GUI -Import Graph Templates

Download
 Filename:  cacti_graph_template_w32_-_disk_statistics_averages.xml
 Filesize:  20.81 KB
 Downloaded:  138 Time(s)


cacti_data_template_w32_-_disk_statistics.xml
 Description:
Import this via the GUI -Import DataTemplates

Download
 Filename:  cacti_data_template_w32_-_disk_statistics.xml
 Filesize:  17.55 KB
 Downloaded:  142 Time(s)


cacti_data_query_w32_-_disk_statistics.xml
 Description:
Save this file under : <cactihome>resource/snmp_queries/

Download
 Filename:  cacti_data_query_w32_-_disk_statistics.xml
 Filesize:  43.01 KB
 Downloaded:  184 Time(s)

Back to top
RWP



Joined: 08 Oct 2008
Posts: 2

PostPosted: Wed Oct 08, 2008 2:52 am    Post subject: Re: Fixed it all Reply with quote

bodazyphir wrote:
Hi All,

I have fixed all the problems in this thread ....

Bodazyphir

That sounds good, however I do have a problem importing the templates.
Error: XML: Hash version does not exist.

Quote:
Cacti Version - 0.8.7a
Plugin Architecture - 1.4
Poller Type - Cactid v
Server Info - Linux 2.6.22-14-virtual
Web Server - Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6.2
PHP - 5.2.3-1ubuntu6.2
PHP Extensions - zip, xmlwriter, libxml, dom, xmlreader, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, session, pcre, SimpleXML, sockets, soap, SPL, shmop, standard, Reflection, posix, mime_magic, mbstring, json, iconv, hash, gettext, ftp, filter, exif, dba, date, ctype, calendar, bz2, bcmath, zlib, openssl, apache2handler, mcrypt, gd, ldap, mysql, mysqli, PDO, pdo_mysql, snmp
MySQL - 5.0.45-Debian_1ubuntu3.1
RRDTool - 1.2.19
SNMP - 5.3.1
Plugins
    Host Info (hostinfo - v0.2)
    Device Tracking (mactrack - v1.1)
    Network Tools (tools - v0.2)
    Update Checker (update - v0.4)
    Thresholds (thold - v0.3.9)
    Network Discovery (discovery - v0.8.3)
    Global Plugin Settings (settings - v0.3)


Any Ideas what I could do ?

Tx in advance
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9
Page 9 of 9

 



Powered by phpBB © 2001, 2005 phpBB Group