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    


Autocreate thresholds from the command line

 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
mia1dolfan



Joined: 02 Oct 2007
Posts: 16

PostPosted: Thu Oct 18, 2007 12:43 pm    Post subject: Autocreate thresholds from the command line Reply with quote

I created this little php script to 'autocreate' thresholds from the command line. It complements the CLI tools in Cacti 0.8.7 for batch automating. Maybe someone can take this and expand it to be able to fully create a threshold from the CLI without the need of using a pre-existing template?

Run it from the <cacti_root>/plugins/thold directory. It requires Cacti 0.8.7. Tested using Thold 0.3.5.



cli_autocreate_thold.php.txt
 Description:

Download
 Filename:  cli_autocreate_thold.php.txt
 Filesize:  2.44 KB
 Downloaded:  41 Time(s)

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
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group