Create a device when using WMI

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
psycho.chicken
Posts: 21
Joined: Wed Feb 14, 2007 8:46 pm

Create a device when using WMI

Post by psycho.chicken »

How do i create a device when using WMI?

I can seem to create a graph without haveing a device/host... but a device wants to query via snmp... so it just says snmp error...

what am i missing...
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Leaving the snmp community blank, should make cacti ignore snmp stuff and poll it.
psycho.chicken
Posts: 21
Joined: Wed Feb 14, 2007 8:46 pm

Post by psycho.chicken »

WOOOHOOOO

That seemed to solve it!!!

For the most part...

2 of the 4 graphs (exchange graphs) are now woking

2 of them are not graphing, however when I rtun the script from the command prompt it comes back with valid info...

Ideas?

I did try deleting and re-creating the sources...
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Turn on graph debugging and watch what is happening with the broken script(s). http://docs.cacti.net/node/283 is a good guide to follow.
psycho.chicken
Posts: 21
Joined: Wed Feb 14, 2007 8:46 pm

Post by psycho.chicken »

If it matters...

I'm not getting NaN's.. there Zero's... ???
psycho.chicken
Posts: 21
Joined: Wed Feb 14, 2007 8:46 pm

Post by psycho.chicken »

02/20/2007 10:40:00 AM - CMDPHP: Poller[0] Host[2] DS[9] WARNING: Result from SNMP not valid. Partial Result:
02/20/2007 10:40:00 AM - CMDPHP: Poller[0] Host[2] DS[9] WARNING: Result from SNMP not valid. Partial Result:
02/20/2007 10:40:01 AM - CMDPHP: Poller[0] Host[3] DS[58] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
02/20/2007 10:40:01 AM - CMDPHP: Poller[0] Host[3] DS[58] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
02/20/2007 10:40:01 AM - CMDPHP: Poller[0] Host[3] DS[59] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
02/20/2007 10:40:01 AM - CMDPHP: Poller[0] Host[3] DS[59] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
02/20/2007 10:40:04 AM - SYSTEM STATS: Time:4.3579 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:120 RRDsProcessed:65
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

psycho.chicken wrote:If it matters...

I'm not getting NaN's.. there Zero's... ???
It doesn't -- follow the same steps outlined in that guide.

Well there you have it, snmp errors. Click on the various DS's to see whats failing and correct them.
psycho.chicken
Posts: 21
Joined: Wed Feb 14, 2007 8:46 pm

Post by psycho.chicken »

While I have your ever so helpfull attention...

To upgrade to the newer build... "J" i think...

Is there a better how to then the one designed for linux...

I used your installer to get cacti running originally...
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Just use the 'linux' upgrade guide and modify it accordingly for windows. The same basic steps are followed: backup your stuff, install the update/patches, make sure everything works.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests