cactid with multiple output fields

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
mdw162
Posts: 23
Joined: Fri Feb 04, 2005 7:49 pm

cactid with multiple output fields

Post by mdw162 »

I just switched from cmd.php to cactid and everything works great except for the one custom script with multiple output fields. In cmd.php the script output format was just field1:value1 field2:value2 field3:value3 ....

Has that output format changed in cactid?
mdw162
Posts: 23
Joined: Fri Feb 04, 2005 7:49 pm

Post by mdw162 »

Okay, I don't think this has anything to do with the number of fields. For some reason I have one poller item that simply never runs with cactid. All of my other poller items run fine under cactid, and this one runs fine under cmd.php.

I checked the poller cache and the script in question is listed. Refreshed the cache, same result.

Makes no sense to me.
mdw162
Posts: 23
Joined: Fri Feb 04, 2005 7:49 pm

Post by mdw162 »

Figured it out. I think it's a bug in cactid.

Cactid doesn't seem to poll any data sources unless they have an associated host. Cmd.php did not have that limitation.
mdw162
Posts: 23
Joined: Fri Feb 04, 2005 7:49 pm

Post by mdw162 »

I'm still having a problem with this.

It seems to be a combination of both issues described above. I can get all of my data queries to run by associating them all with active hosts, but cactid seems to have a problem with multiple output fields.

It returns the correct results from cmd.php and the command line fine, but cactid seems to interpret multiple output fields as "U," unknown. Has anyone else seen this?
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I am working on a patch. This is a feature currently not supported with Cactid. Give me a little time. GNU you know.

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?
mdw162
Posts: 23
Joined: Fri Feb 04, 2005 7:49 pm

Post by mdw162 »

Great! It's just nice to know I'm not doing something wrong and that it's a known issue or simply unsupported.

Thanks!
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I sent you an e-mail.

Larry
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?
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Hello,

Patch submitted for testing at the following link. Please follow Make instructions in readme. If you need a Windows binary, I can arrange via-email.

TheWitness

http://forums.cacti.net/viewtopic.php?p=26992#26992
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests