Search found 5 matches

by kjamieson
Tue Feb 01, 2011 6:32 pm
Forum: Nagios XI
Topic: 2009R1.4 Upgrade - How did it go for you?
Replies: 5
Views: 300

Re: 2009R1.4 Upgrade - How did it go for you?

They are active checks - a shell script that calls lynx to scrape a web page on the appliance. When I tell Nagios to recheck them after the first failure, they fail again - meanwhile on the commandline as the Nagios user I am able to run them with no issues.
by kjamieson
Tue Feb 01, 2011 5:14 pm
Forum: Nagios XI
Topic: 2009R1.4 Upgrade - How did it go for you?
Replies: 5
Views: 300

Re: 2009R1.4 Upgrade - How did it go for you?

So far it has been OK with one exception that I'm dealing with now. We have some check scripts that check the status of our Mailfoundry appliances and whenever I restart Nagios, the checks start returning 'NO OUTPUT' and going critical. They are all able to be run on the commandline as the nagios us...
by kjamieson
Tue Feb 01, 2011 12:41 pm
Forum: Nagios XI
Topic: Automatic writing of config files + restart with nagiosql
Replies: 3
Views: 748

Re: Automatic writing of config files + restart with nagiosql

Wow, that is awesome. Wish I'd found those scripts awhile ago - thanks so much for pointing them out! Life just got a little easier..

Kevin
by kjamieson
Mon Jan 31, 2011 6:43 pm
Forum: Nagios XI
Topic: Automatic writing of config files + restart with nagiosql
Replies: 3
Views: 748

Automatic writing of config files + restart with nagiosql

We recently upgraded to 2009R1.4, and while the upgrade worked fine it unfortunately ended up breaking a script that I was using to automate restarting Nagios. Essentially, I am adding hosts into the NagiosQL database and was then using curl to login to NagiosXI and apply the changes. NagiosQL would...
by kjamieson
Mon Oct 04, 2010 1:42 pm
Forum: Nagios XI
Topic: Managing hosts/services from command line
Replies: 9
Views: 980

Re: Managing hosts/services from command line

I've written a perl script for adding (but not deleting) hosts into the NagiosQL database for NagiosXI. I puzzled out the schema a little bit, at least enough to get the job done. If people are interested, I can post the script - is there an appropriate place to post it, or should I just put it in a...