Hi Team,
After upgrading the Nagios version from 5.2.2 to 5.5.9 we are getting Segmentation fault (core dumped) error for the command check_oracle_health and the exit code it is showing as 139.The os version is RHEL6
below is the command running and the output we are getting,
/usr/bin/env LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib ORACLE_HOME=/usr/lib/oracle/11.2/client64 /usr/local/nagios/libexec/check_oracle_health_backup --connect 'IP:portno/dbname' --username 'USER' --password 'user1234' --mode flash-recovery-area-usage --warning 70 --critical 75
OK - flra (+APP) usage is 0.00% | 'flra_usage_pct'=0.00%;70;75 'flra_usage'=0MB;14336;15360;0;20480
Segmentation fault (core dumped)
In Nagios GUI it is showing status as unknown,Please help on this.
Best Regards
Getting UNKNOWN status after upgrading Nagios
-
inas.labib
- Posts: 170
- Joined: Tue Sep 11, 2012 3:48 am
Re: Getting UNKNOWN status after upgrading Nagios
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
inas.labib
- Posts: 170
- Joined: Tue Sep 11, 2012 3:48 am
Re: Getting UNKNOWN status after upgrading Nagios
Hi
Can you please provide the full command what i need to run.
Thanks
Can you please provide the full command what i need to run.
Thanks
Re: Getting UNKNOWN status after upgrading Nagios
Try:
/usr/bin/env LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib ORACLE_HOME=/usr/lib/oracle/11.2/client64 /usr/local/nagios/libexec/check_oracle_health_backup --connect 'IP:portno/dbname' --username 'USER' --password 'user1234' --mode flash-recovery-area-usage --warning 70 --critical 75 --method sqlplus
/usr/bin/env LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib ORACLE_HOME=/usr/lib/oracle/11.2/client64 /usr/local/nagios/libexec/check_oracle_health_backup --connect 'IP:portno/dbname' --username 'USER' --password 'user1234' --mode flash-recovery-area-usage --warning 70 --critical 75 --method sqlplus
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
inas.labib
- Posts: 170
- Joined: Tue Sep 11, 2012 3:48 am
Re: Getting UNKNOWN status after upgrading Nagios
It is working fine Thanks.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Getting UNKNOWN status after upgrading Nagios
May we mark this issue as resolved?inas.labib wrote:It is working fine Thanks.