Hi All,
How do we validate textbox mentioned in the custom cacti plugin?
Do we have to use hook like plugin_device_api_save ?
Kindly give me some inputs or directions in validating the textbox of the plugins.
Thanks.
Regards,
G. Karuppiah Das
Search found 8 matches
- Thu Aug 16, 2012 2:51 am
- Forum: Help: General
- Topic: validating fields on the settings of the plugin
- Replies: 1
- Views: 350
- Mon Jun 18, 2012 8:37 am
- Forum: Help: General
- Topic: Sending SNMP trap/alarm from plugin
- Replies: 1
- Views: 788
Sending SNMP trap/alarm from plugin
Hi,
How do we send Snmp trap/alarms from cacti plugin?
what are basic/required information for sending snmp traps/alarms in general?
Thanks.
Regards,
G. Karuppiah Das
How do we send Snmp trap/alarms from cacti plugin?
what are basic/required information for sending snmp traps/alarms in general?
Thanks.
Regards,
G. Karuppiah Das
- Wed Dec 21, 2011 4:27 am
- Forum: Plugin Development
- Topic: api_plugin_db_table_create() method in cacti plugins
- Replies: 2
- Views: 4336
api_plugin_db_table_create() method in cacti plugins
Hi All, I am trying to create a table in cacti database from my plugin. The query is below CREATE TABLE `kpi_param` ( `kpi_id` int(3) NOT NULL, `param_id` int(3) NOT NULL, PRIMARY KEY (`kpi_id`,`param_id`), KEY `fk_kpi_param_param1` (`param_id`), KEY `fk_kpi_param_kpi1` (`kpi_id`), CONSTRAINT `fk_kp...
- Thu Dec 15, 2011 4:04 am
- Forum: Plugin General
- Topic: Transporter plugin 0.2
- Replies: 1
- Views: 853
Transporter plugin 0.2
Hi All, I have installed the transporter plug-in version 0.2 in my cacti. We faced a mysql error(1064 Due to single quotes in the long name of the plug-in) when inserting the plug-in details into temporary table. its been fixed. We got the transporter plug-in displayed in the plugin management scree...
- Wed Dec 14, 2011 7:09 am
- Forum: Plugin Development
- Topic: Plugin Development
- Replies: 7
- Views: 5051
Re: Plugin Development
I have planned to execute the sleep method in a background process. Below is my code. Code: $extra_args = "-q " . $config["base_path"] . "/plugins/testing1/poll.php >> 2>&1 "; exec_background($command_string, $extra_args); poll.php file: #!/usr/bin/php -q <?php echo...
- Fri Dec 09, 2011 8:51 am
- Forum: Plugin Development
- Topic: Plugin Development
- Replies: 7
- Views: 5051
Re: Plugin Development
Thanks again for the response. My problem with sleep, when i click the enable part of the plug-in the method fetch ,process, insert into custom table and goes to sleep so on.... With this,I am not getting the disable icon in the Action column of Plugin Management. Even though my plug-in does the req...
- Fri Dec 09, 2011 8:35 am
- Forum: Plugin Development
- Topic: Plugin Development
- Replies: 7
- Views: 5051
Re: Plugin Development
Thanks for the reply.
Can we use sleep method for implementing the polling intervals ?
Or only cron tab is the option ..?
Thanks.
Regards,
G. Karuppiah Das
Can we use sleep method for implementing the polling intervals ?
Or only cron tab is the option ..?
Thanks.
Regards,
G. Karuppiah Das
- Fri Dec 09, 2011 1:39 am
- Forum: Plugin Development
- Topic: Plugin Development
- Replies: 7
- Views: 5051
Plugin Development
Hi All, I am developing a new cacti plug-in. The plug-in will fetch the information from a transporter table and process the data and insert into our custom table at regular intervals. My method will fetch the information from the source table and sleep for 5 minutes and go back fetch ,insert and it...