unable to send pages out again. agent is installed and freshly restarted.
HELP
Details :
[1623783341] SERVICE NOTIFICATION: pagerduty_prod_ops;localhost;Swap Usage;CRITICAL;notify-service-by-pagerduty;SWAP CRITICAL - 1% free (2 MB out of 10239 MB)
[1623783341] wproc: NOTIFY job 2390 from worker Core Worker 1449185 is a non-check helper but exited with return code 2
[1623783341] wproc: host=localhost; service=Swap Usage; contact=pagerduty_prod_ops
[1623783341] wproc: early_timeout=0; exited_ok=1; wait_status=512; error_code=0;
[1623783341] wproc: stderr line 01: execvp(/usr/share/pdagent-integrations/bin/pd-nagios, ...) failed. errno is 2: No such file or directory
]# ls -la /usr/share/pdagent-integrations/bin/pd-nagios
-rwxr-xr-x 1 root root 6762 May 12 2020 /usr/share/pdagent-integrations/bin/pd-nagios
PagerDuty Integration Suddenly Broken
Re: PagerDuty Integration Suddenly Broken
Please PM me a copy of your profile, you can download it from Admin > System Profile by clicking the Download Profile button.
SSH into the XI server, then run these commands, and send the output:
SSH into the XI server, then run these commands, and send the output:
Code: Select all
su - nagios
/usr/share/pdagent-integrations/bin/pd-nagios -h-
matson-itops
- Posts: 133
- Joined: Wed Nov 18, 2015 11:19 pm
Re: PagerDuty Integration Suddenly Broken
have PM'd you the profile
here is the output you also requested :
[nagios@orec2upm04 bin]$ /usr/share/pdagent-integrations/bin/pd-nagios -h
-bash: /usr/share/pdagent-integrations/bin/pd-nagios: /usr/bin/python: bad interpreter: No such file or directory
[nagios@orec2upm04 bin]$ ls -la /usr/bin/python
ls: cannot access '/usr/bin/python': No such file or directory
looks like python went missing somehow
I do have python3
please point me to instructions on how to best to reinstall python
not sure which versions are required.
here is the output you also requested :
[nagios@orec2upm04 bin]$ /usr/share/pdagent-integrations/bin/pd-nagios -h
-bash: /usr/share/pdagent-integrations/bin/pd-nagios: /usr/bin/python: bad interpreter: No such file or directory
[nagios@orec2upm04 bin]$ ls -la /usr/bin/python
ls: cannot access '/usr/bin/python': No such file or directory
looks like python went missing somehow
I do have python3
please point me to instructions on how to best to reinstall python
not sure which versions are required.
Re: PagerDuty Integration Suddenly Broken
You should be able to do this:
What OS/version is it running?
Code: Select all
ln -sfn /usr/bin/python3 /usr/bin/pythonCode: Select all
uname -a
cat /etc/*release-
matson-itops
- Posts: 133
- Joined: Wed Nov 18, 2015 11:19 pm
Re: PagerDuty Integration Suddenly Broken
yes thank you. that worked.
Re: PagerDuty Integration Suddenly Broken
Great, let us know when we're okay to lock this up and mark it as resolved.