vbscript not running when using cactid
Moderators: Developers, Moderators
vbscript not running when using cactid
Hi all,
I'm using cacti release 0.8.6i (via installer). My system is a Win Server 2003 Standard + IIS 6.
Since I'm planning to monitor +150 devices, I think the best poller in my case is cactid, isn't it?
Well, I'm currently testing with just 8 devices. Two of them are Win 2000 Servers.
Since WMI is already working on all of our Win Servers, I've decided to go through it. I've made some vbscripts to monitor the Win 2000 servers and everything was just fine. But since I've changed the poller to cactid, no data is graphed anymore.
Let me say 2 things. The first is that I had a msvcr71.dll problem during the cacti install. I've just ignored the procedure (a msvcr71.dll copy, I'm not sure...) and the rest of the install worked fine. The other thing is that I've changed the ping.php in such a way that when "PING and SNMP" Host Detection is selected, the SNMP is tested even if ping gets failed. This was necessary since some devices (like the Win servers) do not have SNMP agent installed, and some devices (like our firewalls) do not respond to ping but SNMP is ok. Nothing more than that was modified.
The cacti log when cmd.php is used gives:
12/21/2006 11:15:39 AM - SYSTEM STATS: Time:37.4550 Method:cmd.php Processes:3 Threads:N/A Hosts:8 HostsPerProcess:3 DataSources:70 RRDsProcessed:43
But when cactid is used, I get:
12/21/2006 09:55:17 AM - SYSTEM STATS: Time:16.6075 Method:cactid Processes:3 Threads:1 Hosts:8 HostsPerProcess:3 DataSources:70 RRDsProcessed:23
It seems that some RRDs are gone...
The full log when cactid is used is attached as well as my little ping.php modification.
Any ideas to solve my problem???
Thanks in advance.
I'm using cacti release 0.8.6i (via installer). My system is a Win Server 2003 Standard + IIS 6.
Since I'm planning to monitor +150 devices, I think the best poller in my case is cactid, isn't it?
Well, I'm currently testing with just 8 devices. Two of them are Win 2000 Servers.
Since WMI is already working on all of our Win Servers, I've decided to go through it. I've made some vbscripts to monitor the Win 2000 servers and everything was just fine. But since I've changed the poller to cactid, no data is graphed anymore.
Let me say 2 things. The first is that I had a msvcr71.dll problem during the cacti install. I've just ignored the procedure (a msvcr71.dll copy, I'm not sure...) and the rest of the install worked fine. The other thing is that I've changed the ping.php in such a way that when "PING and SNMP" Host Detection is selected, the SNMP is tested even if ping gets failed. This was necessary since some devices (like the Win servers) do not have SNMP agent installed, and some devices (like our firewalls) do not respond to ping but SNMP is ok. Nothing more than that was modified.
The cacti log when cmd.php is used gives:
12/21/2006 11:15:39 AM - SYSTEM STATS: Time:37.4550 Method:cmd.php Processes:3 Threads:N/A Hosts:8 HostsPerProcess:3 DataSources:70 RRDsProcessed:43
But when cactid is used, I get:
12/21/2006 09:55:17 AM - SYSTEM STATS: Time:16.6075 Method:cactid Processes:3 Threads:1 Hosts:8 HostsPerProcess:3 DataSources:70 RRDsProcessed:23
It seems that some RRDs are gone...
The full log when cactid is used is attached as well as my little ping.php modification.
Any ideas to solve my problem???
Thanks in advance.
- Attachments
-
- cactilog.txt
- cacti log when cactid is used.
- (67.88 KiB) Downloaded 181 times
-
- ping_php_mod.txt
- Little ping.php modification.
- (472 Bytes) Downloaded 123 times
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Have a look at http://cacti.net/downloads/docs/html/in ... ndows.html
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
You really should be reading http://forums.cacti.net/viewtopic.php?t=11747 instead.
Also read in the FAQ regarding WMI scripts. Cacti will use the user account running the cacti scheduled task when running the WMI scripts against remote servers (unless you explicitly specify a different user/pass in the script).
Also read in the FAQ regarding WMI scripts. Cacti will use the user account running the cacti scheduled task when running the WMI scripts against remote servers (unless you explicitly specify a different user/pass in the script).
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Thanks for the help BSOD.
Well, I don't think a I was clear. Pardon me. Let me explain: when I use cmd.php poller, everything goes perfectly well. All the graphs are OK. I only have problems when I change to cactid.
Since user/pass for WMI queries are defined within my scripts and I don't have any problem when using cmd.php, I think the problem is not concerned to permissions. Don't you think the same???
I couldn't see in FAQ neither in any post (yes, I've looked for) a solution to my problem.
By the way, I've installed cygwin (all recommended packages) but nothing changed. Do I have to make any new configuration?
Thanks in advance.
Well, I don't think a I was clear. Pardon me. Let me explain: when I use cmd.php poller, everything goes perfectly well. All the graphs are OK. I only have problems when I change to cactid.
Since user/pass for WMI queries are defined within my scripts and I don't have any problem when using cmd.php, I think the problem is not concerned to permissions. Don't you think the same???
I couldn't see in FAQ neither in any post (yes, I've looked for) a solution to my problem.
By the way, I've installed cygwin (all recommended packages) but nothing changed. Do I have to make any new configuration?
Thanks in advance.
Ahh, gotcha. Yea, that would be a cactid specific issue which TheWitness will need to address.zeca011 wrote:Well, I don't think a I was clear. Pardon me. Let me explain: when I use cmd.php poller, everything goes perfectly well. All the graphs are OK. I only have problems when I change to cactid.
Nope.zeca011 wrote:By the way, I've installed cygwin (all recommended packages) but nothing changed. Do I have to make any new configuration?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Can you please PM me your poller_item table? Thanks,
TheWitness
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?
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?
Here it is...
Thanks for the help Witness...
Since I've configured many and many servers on the prevoius cacti install, I've decided to make a fresh install, which I think will be easier to debug.
On this last install, I've got no dll problem and I've made no change to the original cacti code.
Here is the cacti logs when using cmd.php and cactid for just one server. The poller_item table is here too.
Thanks.
Since I've configured many and many servers on the prevoius cacti install, I've decided to make a fresh install, which I think will be easier to debug.
On this last install, I've got no dll problem and I've made no change to the original cacti code.
Here is the cacti logs when using cmd.php and cactid for just one server. The poller_item table is here too.
Thanks.
- Attachments
-
- poller_item_plus_cactilog.txt
- (2.99 KiB) Downloaded 145 times
Who is online
Users browsing this forum: No registered users and 1 guest