check_ping under NConf missing service parameters
check_ping under NConf missing service parameters
Under Advance service name PING, there is only -w ARG1 option for service parameters available. But in check_ping command, there is also a 2nd -c ARG2 and it is missing in NConf.
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: check_ping under NConf missing service parameters
This is not a bug.
In your service parameters (when using check_ping) add -c <crta> if required. Alternatively, you can modify the provided sample (the one you are referring to) or create your own advanced service to suit your specific needs. I'd suggest against editing the sample data though unless you understand it - doing so can break some of the sample templates.
In your service parameters (when using check_ping) add -c <crta> if required. Alternatively, you can modify the provided sample (the one you are referring to) or create your own advanced service to suit your specific needs. I'd suggest against editing the sample data though unless you understand it - doing so can break some of the sample templates.
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems
RE: check_ping under NConf missing service parameters
I just did a litter more checking. Come to found out before i do the restore of the backup.nems, there are 2 ARG field in check_ping service. But, after restoring the backup.nems, only ARG1 field is there. ARG2 field disappeared. My guest is my backup.nems is corrupted somehow. I will just rebuild a new copy from ground up. I only have a few devices to check anyway. Thanks for all you help.
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: check_ping under NConf missing service parameters
Your backup always overrides the defaults. So if your backup contains only one arg, and the defaults contains two, your restored backup will only have one.
I'd be happy to review your support.nems file if you think it is a bug. Certainly if there's an issue, I'd be happy to fix it. https://docs.nemslinux.com/commands/nems-support
Cheers,
Robbie
I'd be happy to review your support.nems file if you think it is a bug. Certainly if there's an issue, I'd be happy to fix it. https://docs.nemslinux.com/commands/nems-support
Cheers,
Robbie
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems
RE: check_ping under NConf missing service parameters
I wish I can send over the nems-support file. My password don't even work any more. I have already wiped the memory chip since then.
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: check_ping under NConf missing service parameters
Okay. Well, let me know if you have any other trouble.
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems
- Robbie Ferguson
- Posting Freak
- Posts: 835
- Joined: Wed Mar 07, 2012 3:23 pm
- Location: Ontario, Canada
- Contact:
RE: check_ping under NConf missing service parameters
The issue as originally reported is fixed in NEMS 1.5.
Robbie Ferguson // The Bald Nerd
Did I help you out? Appreciate what I do? Please consider saying thanks:
Did I help you out? Appreciate what I do? Please consider saying thanks:
- Throw something in the tip jar: https://donate.category5.tv
- Support Category5 TV on Patreon: https://patreon.com/category5
- Support NEMS Linux on Patreon: https://patreon.com/nems