the line notes latlng:...... are disapear

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
almirf
Posts: 31
Joined: Tue Apr 29, 2014 1:23 pm

the line notes latlng:...... are disapear

Post by almirf »

Dear Friends

every time Nagios updates the files, all the changes made in the cfg files of the objects are peridas, and then I lose everything I've

the line notes latlng:...... are disapear

help me

thanks
Almir
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: the line notes latlng:...... are disapear

Post by tmcdonald »

Do you mean "pierdas"? Missing?

And this is in Nagios Core, correct? Not Nagios XI?
Former Nagios employee
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: the line notes latlng:...... are disapear

Post by slansing »

You will need to be more clear with this question, it's hard to tell what you are trying to get across. Maybe you can provide a screen shot or an example?
almirf
Posts: 31
Joined: Tue Apr 29, 2014 1:23 pm

Re: the line notes latlng:...... are disapear

Post by almirf »

ok again

my nagios is nagios core 3.2.0
The nagmap are working fine
im put in all objects.cfg files the line "notes latlng: -xxxxx,-yyyy"
when any people use the nagiosql and update anything the line "notes latlng: -xxxxx,-yyyy" disapears
and all point in the map are missing

how can I do so that this line is not lost if an nagios update done through a NagiosQL or through routine updates nagios??

Thanks
Almir
tmcdonald wrote:Do you mean "pierdas"? Missing?

And this is in Nagios Core, correct? Not Nagios XI?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: the line notes latlng:...... are disapear

Post by tmcdonald »

Any time you use QL to make a change, things you added by hand in the .cfg file will be overwritten. If you want the change to stick you need to make the change through QL.
Former Nagios employee
almirf
Posts: 31
Joined: Tue Apr 29, 2014 1:23 pm

Re: the line notes latlng:...... are disapear

Post by almirf »

So there is some way to add the line "notes latlng: xxx, xxx" inside the NagiosQL?? or else somehow the NagiosQL not remove the line?

Thanks
tmcdonald wrote:Any time you use QL to make a change, things you added by hand in the .cfg file will be overwritten. If you want the change to stick you need to make the change through QL.
almirf
Posts: 31
Joined: Tue Apr 29, 2014 1:23 pm

Re: the line notes latlng:...... are disapear

Post by almirf »

problem solved :lol:

in nagiosql go to additional setings, then in cusotm variable put "notes latlng:" in variable name
and put the values in variable value

then save and do the 4 steps

thanks
Almir

im pus the variable
tmcdonald wrote:Any time you use QL to make a change, things you added by hand in the .cfg file will be overwritten. If you want the change to stick you need to make the change through QL.
Locked