Re: Problem with external commands

Jens Kruse <[email protected]>
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
Hi Atle, hi list,

Atle Veka wrote:
>>When we set external commands, i.e. acknowledgements or downtimes, it
>>sometimes is accepted and executed, but sometimes not.
>>I can see that the i.e. ack-request gets piped to the command file
>>netsaint.cmd, but some jobs don't appear within netsaint.log within the
>>next 15 Minutes or so and are not executed ...
>>
>>Does anyone have clue what might be wrong?
>>
> 
> No idea what might be wrong, sounds really strange to me. Have you tried
> compiling with debug support and running netsaint from the command line
> (either watching stdout or piping it to a file)?

Yes, we have, there just nothing happens ...

>>A second question: Is there any trick to set i.e. acknowledgments
>>persistent, so that it won't disappear after a reload of the netsaint
>>configuration (we have to actualize our configuration quite often ...)?
>>
> 
> In Netsaint this is not possible without your own trickery, I think
> someone has scripts that will "rebuild" your scheduled downtimes upon
> reload. I do believe this is fixed in Nagios however. :)

Does anyone have such scripts or have an idea where this information is 
stored, so we could write a script on our own if there's no script so far?


TIA, Jens
-- 
Jens Kruse *** Mobilcom Communikationstechnik GmbH
*** Corporate IT *** Team Linux-Administration ***





-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.