NDO2DB init script

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
aaronnicoli
Posts: 33
Joined: Tue May 05, 2009 7:28 pm

NDO2DB init script

Post by aaronnicoli »

The release of NDO2DB has contained in the documentation now for a very long time that a init script will be developed and added to the package, however this has not happened...

Anyway, I have created a script which is pretty much as generic as possible, it shouldn't be hard for people to work out and use...

Use the v1.0 script if you do NOT want nagios to be integrated in the startup process.
Or use the v1.X script if you DO want nagios integrated at startup.

Just edit the init script global params to your needs...

EDIT: Now attached....
EDIT: Now updated to v1.2
EDIT: Now updated to v1.3

Chnagelog:
# - v1.0 : Initial production release, added support for multiple NDO2DB daemons running simultaneously
# - v1.1 : Added support for Nagios daemon checking, will error if nagios already running when starting.
# - v1.2 : Further error checking added and support to ask for user input on Nagios daemon state. Can now
# automatically restart the nagios daemon in sync with NDO2DB.
# - v1.3 : Bugfixes with the Nagios restart module, will now continue to question the user for a nagios
# restart, and not fail on y or n. Won't die to a failure of restart now.


Enjoy and give me any recommendations if needed.
Attachments
ndo2db.txt
ndo2db - Init script - v1.3

Remove the .txt extension BTW ;)
(4.71 KiB) Downloaded 718 times
ndo2db.txt
ndo2db - Init script - v1.0

Remove the .txt extension BTW ;)
(3.21 KiB) Downloaded 441 times
aaronnicoli
Posts: 33
Joined: Tue May 05, 2009 7:28 pm

Post by aaronnicoli »

Anyone have thoughts on the scripts?
aaronnicoli
Posts: 33
Joined: Tue May 05, 2009 7:28 pm

Post by aaronnicoli »

Just bumping this up so people still realize it's here.

Cheers,
aaronnicoli
Posts: 33
Joined: Tue May 05, 2009 7:28 pm

Post by aaronnicoli »

Been a while and this is still current, so.... B-UMP!
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Lot's of people are taking these days and not commenting.

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?
aaronnicoli
Posts: 33
Joined: Tue May 05, 2009 7:28 pm

Post by aaronnicoli »

Yeah, would just like some feedback more than anything.
Perhaps some ideas on how to improve...
User avatar
neovox
Cacti User
Posts: 52
Joined: Tue Jan 02, 2007 8:22 am
Location: MI

Post by neovox »

I'm using v1.0 with no issues at all. It was pretty much cut and paste. Thanks!
aaronnicoli
Posts: 33
Joined: Tue May 05, 2009 7:28 pm

Post by aaronnicoli »

neovox wrote:I'm using v1.0 with no issues at all. It was pretty much cut and paste. Thanks!
Hehe thanks,

That makes it worth while.
dhost
Posts: 11
Joined: Sun Jan 23, 2005 12:48 pm

Post by dhost »

Installed ndo2db - Init script - v1.3 and it works great. Thanks for sharing.
dave99
Posts: 26
Joined: Fri Mar 17, 2006 11:12 pm

Post by dave99 »

V1.0 works great for me, thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests