You are here

New Atom Instance

8 posts / 0 new
Last post
stevebattman
stevebattman's picture
New Atom Instance

Hi,

I have a couple of issues;

Service checks not appearing on host

I've assigned one of the Database - MSSQL (check_mssql_database.py) service checks to a host but when you go to Monitoring > Hosts > the_server _in_question the service check doesn't appear. I've tried multiple reboots/reloads and it still doesn't appear. the plugin helps shows "Pymssql is required for operation. Please install it" and I have done so.

Updating Opsview Atom

I get a warning saying my Atom version is out of date, so I tried to update packages I get an error (failed to fetch & "undetermined error"). I've updated the opsview.list file to include my repositories key but still get the error. The default entry in the opsview.list is deb http://downloads.opsview.com..etc, I've looked at the documentation and there its set to https. I've tried changing mine to https: (and installed apt-transport-https to allow apt-get to use https:) but I'm stilll getting an error "failed to fetch" when trying to apt-get install)

The errors-

W: Failed to fetch https://downloads.opsview.com/k/*<my key>*/opsview-atom/latest/apt/dists/precise/main/binary-amd64/Packages

W: Failed to fetch https://downloads.opsview.com/k/*<my key>*/opsview-atom/latest/apt/dists/precise/main/binary-i386/Packages

E: Some index files failed to download. They have been ignored, or old ones used instead.

 

Is there anyone available to help?

Thx

Steve

smarsh
smarsh's picture
Hi Steve,

Hi Steve,

If you try and access the repository via your browser, does it work? I.e. http://downlo....

Best,
Sam

smarsh
smarsh's picture
For reference, I just tried

For reference, I just tried it with your key and it worked fine in my browser:

https://downloads.opsview.com/k/3.....................4/opsview-commerci...

Can you double check your repo entry, as per the page here http://docs.opsview.com/doku.php?id=repositories

stevebattman
stevebattman's picture
Thanks for the reply.

Thanks for the reply.

The default url on the virtual appliance is ponting at /opsview-atom/latest/apt/ and not /opsview-commercial/latest/apt/ so I've changed that and now able to update. Thanks for your help.

Does you have any suggestions on the missing service checks, FYI - I'm using a vanilla Opsview Atom virtual appliance setup.

smarsh
smarsh's picture
Ah, that repo entry sounds

Ah, that repo entry sounds like a bug - i'll get it updated so others arent affected. Thanks for the heads up!

Regarding the checks, is it just that one particular check that doesnt appear - or is it ANY service check? i.e. if you add... load average, for example, does that appear next to the host in question after a reload?

stevebattman
stevebattman's picture
No probs, apt-transport-https

No probs, apt-transport-https will also need to be installed on the virtual appliance.

It's any service check using check_mssql_database.py , you can select it as a monitor, apply changes reload etc but it doesn't show up when

you go to monitoring > host, just not listed at all.

Thx

smarsh
smarsh's picture
Hi Steve,

Hi Steve,

I think i've figured it out.

For reference, this is a section here on MS SQL and its template / service checks: http://docs.opsview.com/doku.php?id=opsview4.6:opspacks:templates:microsoftsql

I suspect you need to add the necessary attributes to the host, by editing that host, navigating to the 'attributes' tab, and adding a new one. The check wont appear if you dont have a database added i believe.

So for starters, add an attribute, set the type to be 'MSSQLDATABASE' and then in the value field add your DB name, i.e. 'default' etc. This should at a minimum make the check appear.

You will need to then add the MSSQL login details to allow Opsview to monitor that box, along with the WMI details (all detailed in the guide above).

Cheers,

Sam

stevebattman
stevebattman's picture
Great all working now.

Great all working now.

Thx

Steve