You are here

Graphs are gone -- opsviewnfd Not monitored

5 posts / 0 new
Last post
AGS Admins
agsadmins's picture
Graphs are gone -- opsviewnfd Not monitored

Today I upgraded our instance of OpsView Atom after making a checkpoint in Hyper-V. After restarting the server and logging in to OpsView I noticed that the graph option was missing from all of our service checks. I read around and found the "/opt/opsview/watchdog/bin/opsview-monit summary" command. When I ran it everything looked fine, except that opsviewnfd said it had a problem. The graphs are critical to me, so I reverted the VM bak to the checkpoint. But when I logged into OpsView again, the graph option was still missing. opsviewnfd now said "Not monitored". I stopped MySQL, ran "opsview-monit stop all", started MySQL, and ran "opsview-monit start all". Once everything started, opsviewnfd said "Does not exist." How do I get graphs working again? How do I keep them working?

At this point I am ready to assume that OpsView upgrades are always bad. I even removed the upgrade alarm from the Monitoring server host template.

 

Duncan Ferguson
dferguson's picture
opsviewnfd is not used for

opsviewnfd is not used for graphing - this is the 'netflow' daemon.  If you have not purchased a license for netflow this daemon will not run

Can you provide more information, such as what OS you are using, what version you are upgrading from, what version you are upgrading to, and did you follow the upgrade docs on https://knowledge.opsview.com/articles/opsview-monitor-521/352-upgrading... ?

  Duncs

AGS Admins
agsadmins's picture
It looks like at the time I

It looks like at the time I was running 5.2.0.162591220 and the version available in the alarm is 5.2.1.163061249. I am running the Hyper-V Virtual Appliance. 

I am not sure if the loss of graphs was caused by the upgrade or if they had dropped off the interface several weeks earlier. I just hadn't noticed whether or not they were gone until after the upgrade. I made a checkpoint of the VM right before upgrading, and when I reverted to that checkpoint, the graphs were still missing. Today I reverted to a chekpoint from a month ago and my graphs are back next to the service checks where they should be.

I did follow the instructions as far as I can tell. I ran sudo apt-get install $(dpkg -l | awk '/opsview/ {print $2}') and sudo apt-get upgrade several times, and restarted the VM several times. The graph icon was simply not appearing next to any service checks still.

Duncan Ferguson
dferguson's picture
Opsview 5.2.0 includes a new

Opsview 5.2.0 includes a new graphing mechanism and some data files need to be built during the installation.  It may be these are not being built.

Can you perform the upgade again and then check to see whether 'migrate-uoms.pl' is running as a process.  If not, then run it as the opsview user from /opt/opsview/timeseriesrrd/installer/ - you should only run this once, however.  After this has completed, perform a reload and your graph icons may be back.

  Duncs

AGS Admins
agsadmins's picture
That fixed it, months later

Just an update,

I believe I ran this at the time and it got us working. However, I reverted the VM to a checkpoint at one time and it must have been before I ran this.

Due to that, the graph icon disappeared from Opsview for several months. It appeared that the graphing data was being generated and collected, Opsview logs showed no errors, all Opsview services were running and at the newest version, reloading Opsview tens of times did not bring back the graphs — nothing was wrong, but the graphs simply were not there. This was most likely caused by Opsview failing to upgrade the graphing components on its own. How we resolved the instance in this case was exactly how Duncan described above:

  1. su – opsview
  2. /opt/opsview/timeseriesrrd/installer/migrate-uoms.pl
  3. reload Opsview