HenriWahl / Nagstamon

Nagios status monitor for your desktop.
https://nagstamon.de
Other
419 stars 170 forks source link

Action ssh print same data for all variables #622

Open remiGauth opened 4 years ago

remiGauth commented 4 years ago

Hi for all

my nagstamon action is like this echo "C:\Program Files\PuTTY\putty.exe" -l GauthierR-A $ADDRESS$ $HOST$ $MONITOR$ $SERVICE$ $MONITOR-CGI$ >> C:\Users\remi.gauthier\Desktop\TEST.txt

and print this in TEST file on desktop ad minima nagstamon ADDRESS seem to be same as HOST

"C:\Program Files\PuTTY\putty.exe" -l GauthierR-A FRDS-L0042-ST-ETIENNE FRDS-L0042-ST-ETIENNE http://10.65.126.48/centreon Dell-Openmanage-Global http://10.65.126.48/centreon

but in centreon i have : ADDRESS FRDS-L0042.emea.fs.utc.com HOST FRDS-L0042-ST-ETIENNE

what is wrong ? nagstamon 3.2.1 onto win10 1803 64bits and test also in nagstamon 3.4 (same results) Centreon 18.10.7

HenriWahl commented 4 years ago

What connection method do you use in Actions tab in settings dialog? connection_method

remiGauth commented 4 years ago

Hi Henri

[cid:image001.png@01D5D4F2.F8EC2F60]

[cid:image002.png@01D5D4F2.F8EC2F60]

[cid:image003.png@01D5D4F2.F8EC2F60]

Nagstamon action variables seem to not request centreon “Address IP” from centreon

[cid:image004.png@01D5D4F3.619EB4B0]

De : Henri Wahl [mailto:notifications@github.com] Envoyé : vendredi 24 janvier 2020 23:18 À : HenriWahl/Nagstamon Nagstamon@noreply.github.com Cc : Gauthier, Remi UTC CCS Remi.Gauthier@delta2s.fr; Author author@noreply.github.com Objet : [External] Re: [HenriWahl/Nagstamon] Action ssh print same data for all variables (#622)

What connection method do you use in Actions tab in settings dialog? [connection_method]https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_2835065_73108123-2Dbb689f80-2D3eff-2D11ea-2D9ebe-2Dd1829f10720e.png&d=DwMCaQ&c=ilBQI1lupc9Y65XwNblLtw&r=EOWK7vlkuzEyl3wIP8T835CI8gwd3AywIRBC85Y0Ueo&m=m0-s-z29MA-u7l0CLQ7Q97JhiJSO39yPNJg0m_dxGmA&s=dFrbO7U-ZkPXlbp2UALb7w692Nk4cGsFOAQfnh0eof8&e=

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_HenriWahl_Nagstamon_issues_622-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAOLWKLX53LNPMXXBL2GSWXTQ7NSJJA5CNFSM4KLC3TJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ4IN2A-23issuecomment-2D578324200&d=DwMCaQ&c=ilBQI1lupc9Y65XwNblLtw&r=EOWK7vlkuzEyl3wIP8T835CI8gwd3AywIRBC85Y0Ueo&m=m0-s-z29MA-u7l0CLQ7Q97JhiJSO39yPNJg0m_dxGmA&s=I8nWfKBqervES4wPlzmXgYAfTTdJNE4ylGNpdK3Poy0&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AOLWKLT44HWGWXSUZL5H6KDQ7NSJJANCNFSM4KLC3TJQ&d=DwMCaQ&c=ilBQI1lupc9Y65XwNblLtw&r=EOWK7vlkuzEyl3wIP8T835CI8gwd3AywIRBC85Y0Ueo&m=m0-s-z29MA-u7l0CLQ7Q97JhiJSO39yPNJg0m_dxGmA&s=--STxj5kQ_7LImCvgBXuHRAYXQESD1wtexQxUAIOMig&e=.

HenriWahl commented 4 years ago

Did you send some images? None to see here...

remiGauth commented 4 years ago

Yes of course

Now not only by click & drop.

Name in real order

Have a good day

De : Henri Wahl [mailto:notifications@github.com] Envoyé : lundi 27 janvier 2020 12:12 À : HenriWahl/Nagstamon Nagstamon@noreply.github.com Cc : Gauthier, Remi UTC CCS Remi.Gauthier@delta2s.fr; Author author@noreply.github.com Objet : [External] Re: [HenriWahl/Nagstamon] Action ssh print same data for all variables (#622)

Did you send some images? None to see here...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_HenriWahl_Nagstamon_issues_622-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAOLWKLUNM5QVKPKJS36MEA3Q726QJA5CNFSM4KLC3TJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ7EJJQ-23issuecomment-2D578700454&d=DwMCaQ&c=ilBQI1lupc9Y65XwNblLtw&r=EOWK7vlkuzEyl3wIP8T835CI8gwd3AywIRBC85Y0Ueo&m=4G_GMpoJrBS76YMwWz4UkroS9skGtTpK6kyzgTbQCL0&s=aefeumBtp9qoYGtLbczz0z237Urp_LH3gx1KHwbDlis&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AOLWKLW3LQAV227ELW3OMLLQ726QJANCNFSM4KLC3TJQ&d=DwMCaQ&c=ilBQI1lupc9Y65XwNblLtw&r=EOWK7vlkuzEyl3wIP8T835CI8gwd3AywIRBC85Y0Ueo&m=4G_GMpoJrBS76YMwWz4UkroS9skGtTpK6kyzgTbQCL0&s=LJ1u0xQ8p61xsW--bnqUuxcw_Fbl1uXl2fYsHUbuAxY&e=.

remiGauth commented 4 years ago

ok send via github web interface nagstamon1 nagstamon2 nagstamon3 nagstamon4

it seem to be good

HenriWahl commented 4 years ago

Might https://github.com/HenriWahl/Nagstamon/issues/626 be related?

remiGauth commented 4 years ago

i don't know if

this issue still active

HenriWahl commented 1 year ago

Does this still apply?