----------------------- *** Disclaimer *** ----------------------- This e-mail and its contents are subject to the SA Reserve Bank's Disclaimer and Confidentiality Clause, which can be viewed at: http://www.reservebank.co.za/disclaimer Should you be unable to access the link provided, please send a blank e-mail to [email protected] ----------------------- *** Disclaimer *** -----------------------
Ok, I've figured that one out and now it's working as it should, however if I define a new service check and add to the Host Template to also check for, it tells me that the command is not defined. Where do I need to check, obviously adding it to the checkcommands.cfg file will not do anything as it is writing to db. Thanks Quintin >>> On 2009-06-22 at 13:00, in message >>> <[email protected]>, >>> <[email protected]> wrote: Send Opsview-users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.opsview.org/listinfo/opsview-users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Opsview-users digest..." Today's Topics: 1. Re: Topic 4 (Stu Teasdale) 2. Re: Upgrade to 3.1 fails (Toni Van Remortel) 3. Re: "query_host returned invalid xml" and"unknownstatus" (Rija Rasolo) ---------------------------------------------------------------------- Message: 1 Date: Mon, 22 Jun 2009 09:44:32 +0100 From: Stu Teasdale <[email protected]> Subject: Re: [opsview-users] Topic 4 To: Opsview Users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=us-ascii On Mon, Jun 22, 2009 at 09:40:45AM +0200, Quintin Vorster wrote: > Nope, I'm referring to the main cfg files. I have setup Opsview in Solaris > 10, but I'm getting this error: > > NRPE: Command 'check_memory' not defined on the local host. I have edited > services.cfg and changed the command to be check_memory_solaris for the > default one does not work and I've added a new service check as well and > restarted opswiev and opsview-agent and nothing happens. > > I've also tried to add a new host to be monitored but it doesn't appear on > the web. Do I need to edit the config files of Opsview or do I specify to use > the Nagios cfg files within /usr/local/nagios/etc/objects? Changes to the opsview configuration are stored in the database and generated by the nagconfgen.pl script, so any changes you make to the .cfg files will be clobbered. To make changes either: 1) Use the web interface 2) Use the API 3) hack the database The latter should generally be avoided unless you're really sure it's the best way. Stu -- >From the prompt of Stu Teasdale You will be audited by the Internal Revenue Service. ------------------------------ Message: 2 Date: Mon, 22 Jun 2009 11:13:08 +0200 From: Toni Van Remortel <[email protected]> Subject: Re: [opsview-users] Upgrade to 3.1 fails To: Opsview Users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=windows-1252 > -----Original Message----- > From: [email protected] [mailto:opsview-users- > [email protected]] On Behalf Of Ton Voon > Sent: Friday, June 19, 2009 11:11 AM > To: Opsview Users > Subject: Re: [opsview-users] Upgrade to 3.1 fails > > > On 19 Jun 2009, at 09:44, Toni Van Remortel wrote: > > > Any ideas? It's getting urgent here, as the entire monitoring system > > is down now. > > Your tables are currently MyISAM, not innodb. Convert to innodb and re- > install. > > Those tables should always be innodb, so we'll need to work out why > they changed to myisam. I seem to recall something about allowing very > early versions of Opsview a choice of table types, but then we > standardised on innodb later on. > > Ton I converted all tables to InnoDB and ran the upgrade again. It worked. Thanks for the support. Regards, -- Toni Van Remortel System Engineer @ Precision Operations NV +32 3 451 92 20 - [email protected] ------------------------------ Message: 3 Date: Mon, 22 Jun 2009 11:30:31 +0200 From: Rija Rasolo <[email protected]> Subject: Re: [opsview-users] "query_host returned invalid xml" and "unknownstatus" To: opsview-users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Ok It works now with 3.0.5.2530 ubuntu package. Thanks Le 2009-06-05 14:01, Ton Voon a ?crit : > > On 3 Jun 2009, at 16:26, Duncan Ferguson wrote: > > > > > On 3 Jun 2009, at 16:03, Rija Rasolo wrote: > > > >> Hi, > >> Here are the results for : > >> usr/local/nagios/bin/query_host -t -H avaya-s4 -C public | > >> ./check_xml_format > > > > ...... > > > >> :1: parser error : Extra content at the end of the document > >> <data><error>Cannot connect with SNMPv2c: . Trying with > >> SNMPv1</error></data><ho > >> > >> ^ at /usr/lib/perl5/XML/LibXML/SAX/Parser.pm line 31 > > > > This is caused by the error about switching protocols > > This is a bug due to poor XML output by the query_host command. This > is fixed in trunk and we'll get a release out for next week. > > Ton > > ------------------------------ _______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/listinfo/opsview-users End of Opsview-users Digest, Vol 24, Issue 51 *********************************************
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/listinfo/opsview-users
