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    


More space for "script string" in Data Input Metho

 
Post new topic   Reply to topic    Cacti Forum Index -> Feature Requests
Author Message
Rodolphe Ortalo



Joined: 05 Aug 2003
Posts: 5

PostPosted: Tue Nov 04, 2003 10:50 am    Post subject: More space for "script string" in Data Input Metho Reply with quote

Hello,

I'd really like to have more space in the Data Input Methods to enter (no-so-)long "inline" shell scripts...
It's just that I really find it overkill to fire a full Perl interpreter to do a:
cat <log_path> | wc -l
(This is equivalent to webhits.pl it seems.)

For MySQL, one can also do, e.g.:
mysqladmin -u cacti extended-status -pcacti | grep Questions | head -1 | cut -c36-46
to grab the number of questions received.

Also, it would be nice to be able to start a "scratch run" of the just typed script in order to see its output (for debugging). I think this was available in past versions of Cacti. I would be glad to see this back. (One inline script at a time.)

I am not a shell-script fanatic, but sometimes they are pretty convenient (and everything is in the Cacti interface).
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Feature Requests All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group